Forums
Forums / Themes and Templates / editing sidebar headings
(@oneblack)
17 years, 5 months ago
Hello!
I would like to rename some of the default headings (‘pages’, ‘categories’, ‘archive’, etc) in my sidebar.
I’ve opened the sidebar.php file but not sure of what to edit there is not the usual <h3>Title</h3> it look like this:-
<li id="pages"> <h3><?php _e('Pages', 'sandbox') ?></h3> <ul> <?php wp_list_pages('title_li=&sort_column=post_title' ) ?> </ul> </li> <li id="categories"> <h3><?php _e('Categories', 'sandbox'); ?></h3> <ul> <?php wp_list_cats('sort_column=name&hierarchical=1') ?>
How do I edit the headings?
cheers!
that should read how do I rename the headings? thanks again!
(@graceunfolding)
If you are using Widgets then some of the headings can be changed by going to your admin then to appearence, then widgets. Once there click on “Categories” and you can change the heading. I don’t think they all can be changed, but some can be.
yep I tried that can’t override it in the php/html though?!
What do you mean? Did you edit them on the widgets page? Or did you try to edit them through sidebar.php ?
The topic ‘editing sidebar headings’ is closed to new replies.