WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hide register link on sidebar/login.php? (10 posts)

  1. vagabond_uk
    Member
    Posted 5 years ago #

    Is there a way to prevent the registration link from displaying on both page and the login.php? Or disabling it altogether?

    http://netpressarticles.com/ - the register link appears in the sidebar.php under the Functions heading. It also appears on the login.php page.

    I'd also like to disable the ability for guests and random visitors to register accounts but retain the ability for trusted people (who I invite) to register onto my site as an author and contribute content, but without the need of them being added manually via the admin panel.

    Disabling the 'anyone can register' tab in General Settings kills the whole registration process entirely which isn't what I want.

    Is it possible to do this? Either by plugin or altering code? So far my searches have turned up fruitless.

    Thanks gor any help.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    There isn't a Register link on your sidebar right now, so I'm assuming you managed to work out how to remove it.

  3. vagabond_uk
    Member
    Posted 5 years ago #

    Unfortunately not. I disabled registrations while I worked on something else. :)

    I'm still having the same issue, along with my nofollow issue (http://wordpress.org/support/topic/296184?replies=11 ) which collectively are driving me insane!

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Try editing sidebar.php and removing <?php wp_register;?>.

    As for the 'no-follow' issue, I've just checked one of your pages that contained quite a few links and couldn't find a single link with the "no-follow" attribute.

    http://netpressarticles.com/services/

  5. vagabond_uk
    Member
    Posted 5 years ago #

    Thanks. I've managed to fix the nofollow issue, which was surprisingly staring me in the face... lol.

    However, there is no <?php wp_register;?> in sidebar.php.

    The register link is added as part of the meta widget in the backend if that makes any difference.

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    Ah - yes. That would make a big difference. The Meta widget is rather a "take it or leave it" menu block. You get all of the links or you remove it and get none of them. The only option is to edit the sidebar file and add the links you do want via template tags. The "manually added" links would also have to be either at the top or bottom of your current menu bar. They couldn't be between your remaining widgets.

  7. vagabond_uk
    Member
    Posted 5 years ago #

    Thanks for the help.

    I managed to work around it with some plugins to add a login box that obfuscated the register link and some mod-rewrite rules to change the default urls so the page couldn't be browsed to directly.

    Not an ideal solution, but the best i've managed to come up with.

    Thanks again. :)

  8. wayfoward
    Member
    Posted 5 years ago #

    Hello,
    I have the same problem. Could you please specify what plugins you used & how please! Also any other pages you may have edited to get around the problem.

    Thanks!

  9. kristboys
    Member
    Posted 4 years ago #

    hi. i have a similar problem. i have wishlist member on my site, and i don't have to have the meta widget, however, i like the admin link on it so members with author status can click it and go post vs opening a second window to open the admin panel. how do i get rid of the everything but keep the admin link? kristina

  10. finnishu
    Member
    Posted 4 years ago #

    @kristboys...I use the enhanced meta widget by NeuroDawg which can be found here. It has a wide range of options and works great with the newest wordpress release.

Topic Closed

This topic has been closed to new replies.

About this Topic