Discover in this tutorial how to remove the setting of adding a WordPress customizer background image 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 section that allows you to add a background image.
Interested? Here’s how to do it:
Snippet to remove the background image section from the customizer
Insert this fragment at the end of the functions.php file:
To see this and another 919 code snippets of this website, login or subscribe here.
Just like that. From now on this section will not be displayed in the customizer.
If you want to simplify it even more, you can remove some aspects in the Genesis section, such as the adjustment of Genesis updates.
Conclusions
Do you want to get rid of the section to add a background image from 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. 馃槈