• I am new to building plug-ins. I’m logged in as administrator.

    The plug-in doesn’t do anything yet, just trying to get the admin page to show up… I have it in the menu, but when I click on it I get “You do not have sufficient permissions to access this page.”

    Is there something in this code that is making it inaccessible to an admin level user?

    function myrss_admin() {
    	include('myrss_admin.php');
    }
    
    function myrss_admin_actions() {
    	add_management_page('RSS Stuff', 'RSS Stuff', 'manage_options', 'RSS Stuff', 'myrss_admin');
    }
    
    add_action('admin_menu', 'myrss_admin_actions');
Viewing 1 replies (of 1 total)
  • Thread Starter KarenFreemanSmith

    (@karenfreemansmith)

    I figured it out. I was on the wrong track with the permissions. Turns out it was the space in the ‘RSS Stuff’ that appends to the URL. Changed it to ‘RSSStuff’ and it comes up fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘You do not have sufficient permissions to access this page on new admin page’ is closed to new replies.