• Resolved tsalagi

    (@tsalagi)


    Howdy! I’m using the Capabilities Manager plug-in which works great in the admin area. However if the current user logged in has author level privileges creating a link on a page to create a new page like so
    <li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">New Page</a></li> doesn’t take the user to the admin area to create a new page, it displays a page saying the user doesn’t have sufficient permissions to access this page. This is the same link that is used to create a new page in the admin area and the user can use the link in the admin area to create a new page. Anyone have any ideas or solutions?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter tsalagi

    (@tsalagi)

    I solved the problem! Instead of using

    <a href="<?php bloginfo('url') ?>/wp-admin/post-new.php"></a>
    Instead use:
    <a href="<?php echo get_option('home'); ?>/wp-admin/page-new.php"></a>

Viewing 1 replies (of 1 total)
  • The topic ‘Capabilities Manager’ is closed to new replies.