Support » Plugin: Custom Post Type UI » New CPT Not showing in Dashboard Admin Menu

  • Resolved Dale Mitchell

    (@ageekonabike)


    I created a new CPT, “PortFolio Entries” in a clean website. The new CPT is not being displayed in the left hand dashboard menus.

    However, the new CPT is showing in the dashboard’s top “+ New” menu items. I can add new entries which are appearing under Appearance > Menu > PortFolio Entries list and
    accessible in Elementor Pro’s Template page builder as shown in the attached link.

    T-shooting:

    • Deleted and recreated other CPTs
    • Changed the slug.
    • Changed the menu position
    • Switched the Dash icon
    • Enabled Debug Logging: No Errors reported

    Can I tweak the Db to manually “repair” the menu item record?

    Any Suggestion?

    WP and all CPT plugins are up to date.

    WP: 5.2.3
    Active Theme: OceanWP 1.7.1
    Advanced Custom Fields: 5.8.3
    Advanced Custom Fields PRO: 5.8.4
    Custom Post Type UI: 1.6.2
    Ele Conditions: 1.0.5
    Ele Custom Skin: 1.3.4
    Elementor: 2.7.3
    Elementor Pro: 2.6.2
    Font Awesome: 4.0.0-rc13
    Granular Controls Elementor: 1.0.5
    Jetpack by WordPress.com: 7.8
    MOJO Marketplace: 1.4.6
    Ocean Extra: 1.5.16
    PowerPack Lite for Elementor: 1.2.7.1
    WPForms: 1.5.0.4

    ### Debug Info ###
    Post Types:
    {“portfolio_entries”:{“name”:”portfolio_entries”,”label”:”Portfolio Entries”,”singular_label”:”Portfolio Entry”,”description”:”Client, web design\/graphic art projects to be displayed in the portfolio various sections”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”has_archive”:”true”,”has_archive_string”:”portfolio”,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:”5″,”show_in_menu”:”true”,”show_in_menu_string”:”Portfolio Items”,”menu_icon”:”dashicons-portfolio”,”supports”:[“title”,”thumbnail”,”custom-fields”,”comments”,”revisions”],”taxonomies”:[],”labels”:{“menu_name”:”Portfolio Entries”,”all_items”:”All Entries”,”add_new”:”New Entry”,”add_new_item”:”Add New Entry”,”edit_item”:”Edit Entry”,”new_item”:”New Entry”,”view_item”:”View Entry”,”view_items”:”View Entries”,”search_items”:”Search Portfolio Entries”,”not_found”:”No portfolio entries found”,”not_found_in_trash”:”No portfolio entries found in Trach”,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””},”custom_supports”:””}}

    Taxonomies:
    {“portfolio_type”:{“name”:”portfolio_type”,”label”:”Types”,”singular_label”:”Type”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”false”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””},”meta_box_cb”:””,”object_types”:[“portfolio”]}}

    ### End Debug Info ###

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    What happens when you remove the menu_position value completely, just let it default by being left blank?

    That’s the only thing standing out to me. There’s no database value storing menu positions, so nothing to clear there.

    Dale Mitchell

    (@ageekonabike)

    I tried that as part of the earlier t-shooting.
    I’ve never run into this issue before.

    Really doubt it is the theme. OceanWP has been rock solid and I couldn’t find any related issues in their community.

    And of course it has to happen on “my” new portfolio website.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Bingo, it’s the value you’re putting in the input, right below the dropdown shown in this screenshot that’s throwing things off.

    Screen Shot

    Unless you’re purposely trying to make it a submenu item, probably best to leave that field blank.

    Thank you very much Michael.
    I had exactly the same problem and wondered if I was going to have to slash and burn through my other plugins to sort it out.
    You saved us all a lot of time and stress so thanks for posting this insight!
    🙂
    CPT UI is a very handy tool so I wish all health and wealth to the developers in the future.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome, and thanks for the kind words.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.