• Resolved WP-vz

    (@wp-vz)


    Hello,
    I am trying to figure out if it is possible to remove some items(links) from the META widget, e.g. RSS related. But keep the rest and possibly add extra links.
    Your help is appreciated. Many thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi there,
    This isn’t related to a theme, as widgets work with any theme.

    You can check for plugins that add or modify the Meta widget, there is probably one out there. ??

    Thread Starter WP-vz

    (@wp-vz)

    I found out one quick fix. It is true, it’s not related to a theme, but rather the core. In wp-dir/wp-includes/default-widgets.php find the function widget(). A few lines of code there define what is going to show in the pages in that area.
    It is not a pretty solution as it’s not a good idea to change the core code, but if one needs to have a quick and dirty fix — here you go.

    No! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

    Thread Starter WP-vz

    (@wp-vz)

    esmi, don’t be paranoid. this tip is not about changing functionality of the core code, it’s about deleting (commenting out) a link, i.e. < a > tag. ??

    [Please post markup tags between backticks or use the code button.]

    You should not edit WordPress core files at all. Full stop. It is invariably not necessary.

    Thread Starter WP-vz

    (@wp-vz)

    tell me about a “legal” way to disable/delete unnecessary links in the Meta area?

    By creating your own meta widget as an extension of the native one using a child theme or installing a suitable plugin.

    Thread Starter WP-vz

    (@wp-vz)

    great idea, thanx

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘widgets setup’ is closed to new replies.