changing meta text in sidebar
-
In previous versions widget.php (I think it was widget, anyway) had default meta text that could be changed, for example, removing the rss links.
I can’t seem to find where that section is now located.
I need to find the relevant section to remove those links and change the wording contained in the meta widget. Either by removing the meta widget from the widgets page as an admin and editing the section in the /includes/ section or by changing what shows up when adding the meta widget to the sidebar.
Any tips?
J
-
well…is it an actual widget? Or a default thing?
In appearance->widgets, do you have anything set up? Any widgets in the sidebar?
If not, then it is just some placeholder stuff set up in your theme
most likely you’d be able to edit sidebar.php within your theme to change the default meta behaviour
Sorry I wasn’t clear.
Without the widget there’s nothing there. With the widget, all the usual pieces are there, login, rss, wp link.
I just can’t seem to track down the section that controls what displays in the widget.
jeez yeah….I’d guess you would have to dig into WP core files to edit that actual widget…..
or a plugin like this
http://wordpress.org/extend/plugins/minimeta-widget/or just hardcode what you want into the sidebar…..(or a php code widget)
In the past I had edited the core file widget.php but it seems like with the new release it’s different… It must be doable, because it shows up, I just have to find the relevant core file and section to change…
Thanks for the help…
Yeah…I guess that’s the problem with editing core files rather than adding to your theme…..changes get lost, things change, etc….
good luck!
wp2.9:
wp-includes/default-widgets.php – line 273++Thanks to you both for the information. The core edits were a pain because of upgrades, etc. but I wasn’t aware there was a widget to do it…
The widget you mentioned provides a good solution to my need.
Thanks again, both of you…
Jthank u ver much for the support.
i was really messed up looking into the codes but your solution was really gr8.
thanks a bunch
The topic ‘changing meta text in sidebar’ is closed to new replies.