Theme install inactivate widgets
What I want to do for a theme I am making is that on install of the theme, move an active widget into inactive.
I’ve a search bar at the top of my theme, and therefore do not want it in my sidebar as default. However wordpress puts it there, is there a way to inactivate the search bar from the widget section. I assume it would be something I need to put in my functions.php.
Is this possible?
- The topic ‘Theme install inactivate widgets’ is closed to new replies.