• I am trying to add a menu option the main menu in the admin back office. I can create custom post types, but I am looking to pull and existing post category. I don’t want it to be a subcategory under Posts, I want it to appears as it’s own parent.

    Any ideas would be great.

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

    (@erickruk)

    This is what I’ve tried. Best I get is the menu item but it doesn’t link. It doesn’t show the icon, or show up after the posts link in the menu.

    function field_trips_menu() {
    add_menu_page('Field Trips', 'Field Trips', 'edit_posts', 'edit.php?category_name=field-trips', 'theme1438/includes/images/icon_portfolio.png','5');
    }
    add_action('admin_menu', 'field_trips_menu');
Viewing 1 replies (of 1 total)
  • The topic ‘Add a Post Edit Category to the Navigation to Main Admin Menu’ is closed to new replies.