• This plugin made my day!

    For anyone trying to make it work with custom post types, it does as advertised. The settings needed are
    ‘show_in_nav_menus’ => true,’public’=>true, ‘show_ui’=>true, ‘hierarchical’ => false
    and for your custom taxonomy
    ‘hierarchical’ => true

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey Andy – i’m hoping you might be able to help me to get this working. I’m using the Custom Post Type UI. For my custom post type, i don’t see “show_in_nav_menus=true” The rest are their and set properly.

    So desperate to get this working!!

    Thanks for your time.
    Trish

    Thread Starter AndyMacKay

    (@andymackay)

    Hi Trish,

    I didn’t actually use the Custom Post Type UI, but created the custom post types within my functions.php file.

    My guess is that you are seeing the options above in wordpress admin, rather than within the plugin code?

    I might still be able to help, but is the above assumption correct before I continue?

    Andy

    Hi Andy – thanks for the reply – yes, options are within the admin area.

    Thread Starter AndyMacKay

    (@andymackay)

    Apologies for taking so long to get back to you. The internet on my island has been down the last couple of days so this is the only chance i had.

    Anyway, I made a fork of the plugin https://github.com/BinaryGeometry/custom-post-type-ui/commit/94c86b91c9702ff9203fa0e3703ce10359120214

    So you can either download the new custom-post-type-ui.php file, or else look at the commit message to see what changes you need to make to the plugin you have installed already.

    Basically all we are doing is adding a single key pair onto the end of the arguments array for the native WordPress create_custom_post_types() function.

    I can’t actually test it as I don’t have WordPress installed, but let me know how you get on if you would as I would like to push the changes back into the original repository if you find that this solves the compatibility issue you where having.

    – ‘labels’ => $cpt_labels
    + ‘labels’ => $cpt_labels,
    + ‘show_in_nav_menus’ => true

    Hey Andy – thanks for the work on this. I tried your reworked code, but it did not change the result – when trying to reorder the custom post type within each custom category, it doesn’t work – the menu disappears on the web page and the posts do not reorder.

    Really appreciate the time you took to give it a try!
    Trish

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Well done!’ is closed to new replies.