Widget Labels/Titles
URL to the page in question:
http://test.sanmarco-sf.com
-
Hi Bill,
Is there a way to rename a widget to help in the editing process?
For example, with my setup ‘Home Seven’ is where the ‘Contact’ widget is located. I have to click or scroll down on the various widget sections to see what widget is or isn’t being utilized. Can I change the title of this widget section from ‘Home Seven’ to ‘Contact Widget’ for ease in future editing?
Thanks,
Tammy
You can do that if you don’t mind editing the theme. The widgets are registered in a file called widgets.php. You can edit that file by going to the Appearance section in your WordPress dashboard and clicking on Edit. The files in the theme will be listed on your right. Choose widgets.php.
The label for each widget will be in a line that looks like this:
'name' => __('Home Seven', 'elite'),
Where Home Seven is the label that shows up in the dashboard. You can change the text there. Be sure to only change the words and not the quotes or other items around them. I’m not aware of a way to automate that, but as long as you don’t mind making the edits you can make the labels anything you want.
Take care,
Bill
- The topic ‘Widget Labels/Titles’ is closed to new replies.