Edit CSS / StyleSwitcher
-
Just had to do this for my daughter, and figured someone else may find it useful.
She has Alex King’s styleswitcher plugin and wanted to edit her CSS in the template editor.
Download wp-admin/templates.php
Around line 150 is this:
<?php _e('Common files: (click to edit)') ?>
-
Underneath this, paste the following;
- <?php _e('CSS one') ?>
- <?php _e('CSS two') ?>
- <?php _e('CSS three') ?>
- <?php _e('CSS four') ?>
Save, and upload.
All your styles will now be editable from the template screen by clicking on the name.
Note:
Replace the numbers (‘one’ ‘two’ etc) with the names of the folders that you have in the wp-style folder.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Edit CSS / StyleSwitcher’ is closed to new replies.