Forums

Adding Administration Menus / Submenus (3 posts)

  1. adamrick
    Member
    Posted 7 years ago #

    The example code for adding menus (http://codex.wordpress.org/Adding_Administration_Menus#Example) generates a nice batch of PHP errors.

    Is there some sample code somewhere that works? Specifically, I'm trying to set up a custom Top Level menu with three submenus. I was able to do it with is_plugin_page() and files for each of the submenu pages (rendered with, e.g., admin.php?page=foo.php), but I'd prefer to be able to render them directly from individual files (e.g. foo.php) or from functions in the top-level menu page.

    Thanks!

  2. Michael Adams (mdawaffe)
    Member
    Posted 7 years ago #

    It looks as though this only works in WP 1.5.1 which has not been released yet but will be soon.

  3. adamrick
    Member
    Posted 7 years ago #

    Interesting, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.