Support » Themes and Templates » Theme Options Menu Item – Permissions

  • I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code…

    add_menu_page('Page title', 'Asteria', 'manage_options', 'ThemeOptions', 'my_magic_function');

    It gives me the following error…

    You do not have sufficient permissions to access this page.

    The entire folder, and all contents are 777’d. I have tried this on 2 different servers. One of the servers is running a network of blogs (the preferred server), the other is just a single blog setup. Any ideas?

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

    (@joshdura)

    Oh, also, this code is in a function in functions.php. Don’t know if that matters or not.

Viewing 1 replies (of 1 total)
  • The topic ‘Theme Options Menu Item – Permissions’ is closed to new replies.