How to extend Customizer Panels and Sections to allow nesting – WordPress

The Customizer in WordPress is comprised of Panels, Sections, Settings and Controls. Panels are the top-most fields which contain the Sections and the Sections further include the Controls. The Settings are associated with the Controls. This is the basic architecture of the Customizer. By default, only Sections can be present in a Panel while Sections… Continue reading How to extend Customizer Panels and Sections to allow nesting – WordPress

Selecting a Post using Post Title with the help of AJAX from Customizer – WordPress

I was working on one of my projects when suddenly I encountered a problem – Selecting a Single Post from the Customizer. Sure, there are many ways to do it, some of them including a drop-down including all the posts, manually entering the ID of a post by the user and extracting the post by… Continue reading Selecting a Post using Post Title with the help of AJAX from Customizer – WordPress

Creating a Drag-and-Drop Custom Control for Customizer – WordPress

A drag-and-drop feature is needed in the Customizer to take theme customizations to the next level. I had been searching through the Web for anything I can find regarding this. The Default Controls in Customizer, including the Widget Panel and the Menu Panel, employ Javascript in a big way but were not exactly was I… Continue reading Creating a Drag-and-Drop Custom Control for Customizer – WordPress

How does the ‘Display Site Title and Tagline’ control in Theme Customizer work – WordPress

You might have seen the ‘Display Site Title and Tagline’ control in the Theme Customizer. It looks something like this- This function toggles the visibility of the Site Title and tagline. Earlier, it used to happen using the refresh of the preview window but later on, jQuery has been used to toggle the visibility of… Continue reading How does the ‘Display Site Title and Tagline’ control in Theme Customizer work – WordPress