Find out how to remove the Genesis layout settings from WordPress customizer by code.
One practice I recommend, as a good fan of minimalism, is to remove all elements of a child theme that you will not be using.
This is especially useful for your customers, as you will reduce the noise and encourage them to have a better view of the settings that really need to be changed.
An ideal place to apply this useful ‘cleaning’ and leave only the 100% necessary elements is the WordPress customizer. Why?
Because thanks to its ease of use and to the fact that it allows you to see changes in real time, it is the ideal place for your clients to make the changes they need.
For example, one of the elements you can remove is the design section of the Genesis site (within Theme Settings), either because you don’t want the user to modify it or because you prefer them to do it directly from the Genesis editor sidebar.
Interested? Find out how to do it below:
Snippet to remove the Genesis design section from the customizer
Add this fragment to the end of the functions.php file:
Just like that. This section will not be displayed in the customizer.
If you want to simplify it even more, you can remove the Genesis update settings.
If you don’t need the Genesis layout design section inside the WordPress customizer, now you know how to remove it.
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉