• Resolved gguarnere

    (@gguarnere)


    Hi there,
    I created a custom post type for our DJ website and have started populating it with our staff using Advanced Custom Fields. Now, I want to take the new entries of our staff and add them to a standard WordPress menu that will link to a page for each staff member. We are using CPT UI on a couple of sites, and on our other sites, I can see the post type that I created is available to add directly to WordPress menus. On this site we’re building, however, that’s not the case.

    I have “Show UI” as “true
    Show in Nav Menus is “true”
    Show in menu is “true”

    So I’m not sure what I have toggled correctly, but I’d like to have my new custom post types available as options to add to standard wordpress menus. Thank you in advance!

    • This topic was modified 4 years, 11 months ago by gguarnere.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gguarnere

    (@gguarnere)

    Here are my settings for the post type

    name: disc_jockey
    label: Disc Jockeys
    singular_label: Disc Jockey
    description: “”
    public: true
    publicly_queryable: true
    show_ui: true
    show_in_nav_menus: true
    delete_with_user: false
    show_in_rest: true
    rest_base: “”
    rest_controller_class: “”
    has_archive: true
    has_archive_string: “”
    exclude_from_search: false
    capability_type: post
    hierarchical: true
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    query_var: true
    query_var_slug: “”
    menu_position: “”
    show_in_menu: true
    show_in_menu_string: “”
    menu_icon: dashicons-admin-media
    custom_supports: “”

    And my settings for the Taxonomy associated with that post type

    name: event_type
    label: Event Types
    singular_label: Event Type
    description: “”
    public: true
    publicly_queryable: true
    hierarchical: true
    show_ui: true
    show_in_menu: true
    show_in_nav_menus: true
    query_var: true
    query_var_slug: “”
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    rewrite_hierarchical: false
    show_admin_column: false
    show_in_rest: true
    show_in_quick_edit: “”
    rest_base: “”
    rest_controller_class: “”
    meta_box_cb: “”

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    On the menu admin screen, can you click the “Screen options” tab at the upper right corner and confirm if 1) The post type is listed 2) If it is listed, that it’s also checked to show it as an option for menu items.

    Thanks.

    Thread Starter gguarnere

    (@gguarnere)

    Michael, the post type is not listed there (assuming you mean the Screen Options tab that you can see from the main dashboard).

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Different screens have their own contents in that tab as a whole. So the one when you’re at yoursite.com/wp-admin/index.php aren’t going to be the same details as when toggled in at yoursite.com/wp-admin/nav-menus.php

    Thread Starter gguarnere

    (@gguarnere)

    Aha! that solved it ?? . Didn’t realize those menus were different based on where you are in the Admin panel! Problem solved!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Now you’ll want to check various screens and see what all is available to you ??

    Glad that solved that. Let us know if you need anything else.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t create WP menus with Custom Post type’ is closed to new replies.