Forums

[resolved] How to - Remove wordpress.org from Meta widget user (10 posts)

  1. tiernanw
    Member
    Posted 1 year ago #

    Hello! I am having troubles with my wordpress. I want my users to be able to register, I know how to do that, but when I add the user widget it has a wordpress.org link. I really don't want that, is there a way to get rid of it?

    Help appreciated.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. tiernanw
    Member
    Posted 1 year ago #

    Ugh, I'm having trouble placing it.

    I have copied the code and tryed it in various places of sidebar.php but it wont go into the right place. :-(

    I also tryed putting the code into a widget.

    How do I place it so that it will be like all the other widgets?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You need to add it to your sidebar.php template file. You can't add it to a Text widget. That won't work.

  5. tiernanw
    Member
    Posted 1 year ago #

    Yeah, I tryed that, but I can't get it to go into the right place e.g. if I put it at the top it pushes the sidebars down and it doesnt look right.

    Are the widgets stored in the SQL database?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    if I put it at the top it pushes the sidebars down and it doesnt look right.

    Then you need to re-style your theme's sidebar.

    Are the widgets stored in the SQL database?

    The Meta widget is generated by the WordPress core scripts.

  7. tiernanw
    Member
    Posted 1 year ago #

    Oh ok. You have been a good help. Thanks!

  8. ClaytonJames
    Member
    Posted 1 year ago #

    I add the user widget it has a wordpress.org link. I really don't want that, is there a way to get rid of it

    The quick and dirty method would be to open /wp-includes/default-widgets.php and comment out line 299:
    <!--<li><a href="http://wordpress.org/" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>">WordPress.org</a></li>-->

    The down side is, any time you edit a core file, it's overwritten when you upgrade WordPress. It's better to customize your themes sidebar instead.

  9. tiernanw
    Member
    Posted 1 year ago #

    OH Thank you! :D

    This was what i was looking for!!

  10. ClaytonJames
    Member
    Posted 1 year ago #

    You're welcome. Don't forget, on your next WP upgrade, the edit will be overwritten.

Topic Closed

This topic has been closed to new replies.

About this Topic