• Resolved xeryse

    (@xeryse)


    I try to use your plugin on a fresh install of WP, with 13 other plugins (all deactivated), i leave all the settings on defaults, i only filled Basic Settings, and Additional Labels, it only works on the top “NEW” Menu, it only can post. But the Admin NAV menu, doesn’t show up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Sorry, not quite following what you’re referring to, regarding where it’s failing. The post type isn’t showing up in the side area of your WP admin menu?

    Can you share your settings via the CPTUI > Tools menu and the textarea on the right for the “Post Types” tab?

    Thread Starter xeryse

    (@xeryse)

    {“kendaraan”:{“name”:”kendaraan”,”label”:”Kendaraans”,”singular_label”:”Kendaraan”,”description”:”Kendaraan yang akan akan anda sewakan secara umum”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”show_in_rest”:”false”,”rest_base”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”true”,”rewrite”:”true”,”rewrite_slug”:”kendaraannya”,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:”kendaraansearch”,”menu_position”:”78″,”show_in_menu”:”true”,”show_in_menu_string”:”KENDARAAN”,”menu_icon”:”http:\/\/xeryse.com\/demo-travel\/wp-content\/uploads\/2017\/09\/icon01-free-img.png”,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”trackbacks”,”custom-fields”,”comments”,”revisions”,”author”,”page-attributes”,”post-formats”],”taxonomies”:[“category”,”post_tag”,”kendaraan”],”labels”:{“menu_name”:”Kendaraan”,”all_items”:”Semua Kendaraan”,”add_new”:”Tambah”,”add_new_item”:”Tambah Baru”,”edit_item”:”Edit kendaraan”,”new_item”:”Tambah Kendaraan”,”view_item”:”Lihat Kendaraan”,”view_items”:”Lihat Semua Kendaraan”,”search_items”:”Cari Kendaraan”,”not_found”:”Kendaraan tidak ditemukan”,”not_found_in_trash”:”tidak ditemukan di tempat sampah”,”parent”:”Sewa”,”featured_image”:”Foto Kendaraan”,”set_featured_image”:”Set Sebagai Gambar Utama”,”remove_featured_image”:”Hapus dari gambar utama”,”use_featured_image”:”Gambar Utama”,”archives”:”Gudang”,”insert_into_item”:”Tambahkan ke kendaraan”,”uploaded_to_this_item”:”Terunggah ke kendaraan ini”,”filter_items_list”:”Filter Daftar Kendaraan”,”items_list_navigation”:”Navigasi Daftar Kendaraan”,”items_list”:”Daftar Kendaraan”,”attributes”:”Attribut Kendaraan”,”parent_item_colon”:”Sewa”},”custom_supports”:”kendaraanhelp”}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Your value added below the dropdown for the “Show In Menu” setting is what’s throwing things off.

    https://codex.wordpress.org/Function_Reference/register_post_type#show_in_menu

    Focus on “‘some string’ – If an existing top level page such as ‘tools.php’ or ‘edit.php?post_type=page’, the post type will be placed as a sub menu of that” from that link.

    Unless you’re trying to set the post type menu item to be a submenu of something already existing in your admin, you should leave that field blank.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin Menu not showing, fresh install of wordpress,’ is closed to new replies.