Support » Plugin: Remove Dashboard Access » [Plugin: Remove Dashboard Access for Non-Admins] relink "edit profile" in dashboard to spe

  • Resolved Win7Mac

    (@win7mac)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Drew Jaynes

    (@drewapicture)

    WordPress Core Developer

    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.

    Plugin Author Drew Jaynes

    (@drewapicture)

    WordPress Core Developer

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Remove Dashboard Access for Non-Admins] relink "edit profile" in dashboard to spe’ is closed to new replies.