The WordPress Customizer – A Developers Guide (Part 2)

Posted in WordPress by
Anthony Hortin
(Updated: August 21, 2023)

In Part 1 of this series, I showed you how to start adding Customizer functionality to your theme (or plugin). As well as showing how to add Panels & Sections, I also walked through the process of creating the individual Settings and UI Controls, sanitizing your data, updating the live preview and retrieving your settings. In Part 2 we're going to look at creating Customizer Custom Controls.

Continue reading

The WordPress Customizer – A Developers Guide (Part 1)

Posted in WordPress by
Anthony Hortin
(Updated: September 20, 2022)

If you've used WordPress in the last couple of years, you're no doubt familiar with, or have at least heard of, the Customizer. The WordPress Customizer allows users to modify and configure theme options, whilst also providing them with a live-preview of those changes. The Customizer was built to provide theme developers with a standard interface they could use when providing customisation options within their theme.

Continue reading

What you may not know about the WP REST API

Posted in WordPress by
Anthony Hortin
(Updated: January 6, 2024)

With the release of WordPress 4.7 this week, comes the addition of the WP REST API endpoints for posts, comments, terms, users, meta, and settings. The foundation for the WP REST API has been in core since WP 4.4, and 4.7 sees Part 2 of the REST API Content Endpoints being added.

Continue reading