Modifying myzen's theme settings
Visiting the theme configuration page for the myzen theme created earlier in this chapter should reveal a number of theme-specific settings. In this recipe, we are going to learn how these settings are added and then, rather than creating our own setting, we will familiarize ourselves with their structure by learning how to remove an existing setting.
Getting ready
As we are working with the myzen theme, it should be enabled and set as the site's default theme. Furthermore, as detailed in the recipe where myzen was created, all instances of STARTERKIT
in the theme-settings.php
file should be replaced by myzen
. Once this is done, the theme configuration page for the myzen theme should include theme-specific settings as in the following screenshot.
How to do it...
The setting that we will be removing is the Show block editing on hover checkbox. To do so, we will be working with three different files—myzen's theme-settings.php, myzen.info
, and Zen's theme-settings...