Ralph J. Smit
  • Blog

Create a category dropdown in WordPress customizer

Published January 8, 2021
Create a category dropdown in WordPress customizer

Whether you’re building a WordPress theme or a WordPress plugin, chances are that you need your users to select a certain category or multiple categories. For example, to apply some functionality or use different styling. You could do this via the WordPress customizer or, for example, in your own admin panel.

In this tutorial I’ll show you how to get a list of all the categories and how to rewrite that list to the format you need.

How to add icons to customizer panels and sections

Published December 15, 2020; last updated on December 18, 2020
How to add icons to customizer panels and sections

The WordPress customizer is a great way to add theme options to a WordPress theme. The controls in the customizer are added in sections or panels. This allows you to structure your theme options. But when you have several extra panels or sections registered, things can start to become a bit unclear. In this tutorial you’ll learn how to easily add icons to panels in the WordPress customizer, which greatly improves the look and feel of the customizer.

Ralph J. Smit
  • Recent
  • @ralphjsmit on Twitter