Forums

Disabling the Site Admin link (2 posts)

  1. Blomzakske
    Member
    Posted 3 years ago #

    I have been changing code from the Meta Widget. I deleted the wordpress.org link in the code in wp-includes/widgets.php. But i want to delete another function.

    <?php wp_register(); ?>

    This function is needed for new users to register on your site once they are logged in there is a link saying Site Admin. The problem is i want to delete only one halve namely the Site Admin part. I want to keep the register part because otherwise new users can't create a login, but i don't want them to go to the dashboard via the Site Admin link.

    I already tried the MiniMeta Plugin but it doesn't work together with the loginstayput plugin. Does anyone have a solution to my problem? If more details are needed just ask.

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Could do Write->Link and put yourdomain.com/wp-login.php?action=register as the url (Web Address is what Write->Link calls it).

    Then use the link widget to display that, or hardcode a link in your sidebar.php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.