Book Image

WordPress Complete, Sixth Edition - Sixth Edition

By : Karol Król
Book Image

WordPress Complete, Sixth Edition - Sixth Edition

By: Karol Król

Overview of this book

WordPress Complete, Sixth Edition is a practical guide for everyone who wants to start their journey as an online publisher, website owner, or even a website developer. It takes you step-by-step through the process of planning out and building your site, and offers loads of screenshots and examples along the way. It's also a beginner's guide to theme and plugin development. This book begins with the basics of WordPress, followed by the different components that you as a developer will need to use to work swiftly and efficiently. The book starts by introducing WordPress to new readers in this field. You are then shown how to set it up, implement a blog, and use plug-ins and widgets. You'll use themes to make any website look and feel better and more original. You also learn how to create your own themes and perform testing to ensure your website is bug-free. You will also acquire some idea of how to use WordPress for non-blog-like websites. By the end of the book, you will feel confident enough to design high-quality websites and will be familiar with the ins and outs of WordPress
Table of Contents (14 chapters)

Widgets

Writing a widget bears some similarities to writing a plugin, but in some ways, it's easier because there is a widget class that you can leverage for some of the functionalities. In other ways, it's also a bit more time-consuming as there's a lot of mandatory code that every widget has to feature.

Custom tag cloud widget

In this section, we'll see how to write a widget that displays a custom tag cloud that we can then place in the sidebar. There will also be the possibility to change the title of the widget, and although this is a tag cloud widget, we'll be able to switch tags to categories and display them using a tag-cloud-like style as well. In its final form, the widget will look like this...