WordPress.org

Ready to get started?Download WordPress

Forums

Advanced HELP Please : Creat top-level menu and submenu plugin. (4 posts)

  1. taghaboy
    Member
    Posted 5 years ago #

    Hi,
    I try to create a plugin to add a menu in the administration area for 12h, but with no success, and i need you HELP to
    add a new top-level menu with title : Manage
    and 2 submenu to the custom top-level menu:
    -First with title "Manage products" with a link : /edit.php?go=manage
    -Second with title "Add products" with a link : /post-news.php?go=addnew

    thanks a lot for your help.

  2. taghaboy
    Member
    Posted 5 years ago #

    I need your help friends.

  3. taghaboy
    Member
    Posted 5 years ago #

    i try this:
    add_submenu_page(__FILE__, 'Test Sublevel', 'Test produit 01', 8, 'post-new.php?go=addnew', 'post-new.php?go=addnew');

    but it give the link as :
    admin.php?page=wp-admin/post-new.php?go=addnew

    how can i remove the admin.php?page=wp-admin/

    Thanks

  4. taghaboy
    Member
    Posted 5 years ago #

    Holla
    where are you WP Team :p

Topic Closed

This topic has been closed to new replies.

About this Topic