O'Reilly logo

WordPress 3.7 Complete Third Edition by Aaron Hodge Silver, Karol Król

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 functionality. In other ways, it's 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-style as well.

This isn't a complete from-the-scratch design, though. I'm actually using one of ThemeFuse's (http://themefuse.com/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required