Replacing template files

  • The Template files can be located in http://yourdomain/wp-content/plugins/ethemez-design-switch/templates/
  • Following reside in the template folder:
    • /container.php – Main Plugin Frame
    • /content.php – Main Field Frame
    • /fields/select.php – Template for the Select Box
    • /fields/radio.php – Template for the Radio Button
    • /fields/color.php – Template for the Color Picker
    • /fields/image.php – Template for the Imageselector 
  • If you want to change style properties of the design switch, just add them to your themes’ CSS file, they will be overwritten.
  • If you want to change the Switches’ template, create the directory http://yourdomain/wp-content/themes/yourtheme/ethemez/design-switch/ and copy the template file you want to change, into it. If the original file resides in /wp-content/plugins/ethemez-design-switch/templates/fields, the new file has to be in /wp-content/themes/yourtheme/ethemez/design-switch/fields