WordPress.org

Ready to get started?Download WordPress

Forums

Remove Dashboard Access
[resolved] relink "edit profile" in dashboard to spe (3 posts)

  1. Win7Mac
    Member
    Posted 2 years ago #

    Hi and thanks for this neat plugin.
    I'm using WP-Members on my site as well and that uses some special pages you can use such as Members Area/Settings, Register, and Login. These are called with the following shortcodes:
    [wp-members page="members-area"]

    Can the "edit profile"-button in the options-field in the upright corner be assigned to this page (Instead of redirekt to home)?

    http://wordpress.org/extend/plugins/remove-dashboard-access-for-non-admins/

  2. Drew Jaynes (DrewAPicture)
    Volunteer Moderator
    Plugin Author

    Posted 2 years ago #

    If you have the link to the page you want to redirect to, you can change this line in remove-wp-dashboard-access.php:
    wp_redirect(site_url()); exit;

    to something like this:

    wp_redirect( 'http://your-link-here' ); exit;

    The next version of this plugin will have a place to specify which page unqualified users are redirected to.

  3. Drew Jaynes (DrewAPicture)
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Update:

    Hi Win7Mac,

    Just to let you know, as of version 1.0, you can now enter whichever redirect URL you'd like via the Settings > Dashboard Access menu.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic