Find out how to remove the Genesis content archives section from the WordPress customizer using 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.
The Genesis content archives section (under Theme Settings) is very convenient for configuring how archive pages will be displayed, such as categories or tags.
However, once you have made the necessary adjustments, you may no longer want it to be displayed in the customizer.
Are you interested in removing it? Find out how to do it here:
Snippet to remove the Genesis content archives section in the customizer
Add this fragment to the end of the functions.php file:
To see this and another 1097 code snippets of this website, login or subscribe here.
Just like that. This section will not be displayed in the customizer.
If you want to simplify it even more you can remove Genesis comments and references settings from the cusmizer.
Conclusions
If you don’t need to adjust Genesis content archives within the WordPress customizer, now you know how to delete this section.
Any questions? I read you 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. 😉