Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WordPress 5 Complete - Seventh Edition

You're reading from  WordPress 5 Complete - Seventh Edition

Product type Book
Published in Feb 2019
Publisher Packt
ISBN-13 9781789532012
Pages 432 pages
Edition 7th Edition
Languages
Concepts
Author (1):
Karol Król Karol Król
Profile icon Karol Król
Toc

Table of Contents (18) Chapters close

Preface 1. Section 1: WordPress
2. Introducing WordPress 3. Getting Started with WordPress 4. Creating Blog Content 5. Pages, Media, and Importing/Exporting Content 6. Section 2: Customizing WordPress
7. Plugins - What They Are and Why You Need Them 8. Securing your WordPress Website 9. Choosing and Installing Themes 10. Customizing your Website Appearance/Design 11. Developing your Own Theme 12. Social Media Integration, Podcasting, and HTTPS 13. Developing Plugins, Widgets, and an Introduction to REST API 14. Section 3: Non-Blog Websites
15. Creating a Non-Blog Website Part One - The Basics 16. Creating a Non-Blog Website Part Two - E-Commerce Websites and Custom Content Elements 17. Other Books You May Enjoy

Widgets

Writing a widget bears some similarities to writing a plugin. In some ways, it's even 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}