• Resolved jwesseldyke

    (@jwesseldyke)


    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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

    Thread Starter jwesseldyke

    (@jwesseldyke)

    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
    https://www.ads-software.com/extend/plugins/minimeta-widget/

    or just hardcode what you want into the sidebar…..(or a php code widget)

    Thread Starter jwesseldyke

    (@jwesseldyke)

    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++

    Thread Starter jwesseldyke

    (@jwesseldyke)

    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…
    J

    thank u ver much for the support.
    i was really messed up looking into the codes but your solution was really gr8.
    thanks a bunch

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘changing meta text in sidebar’ is closed to new replies.