• Resolved lowe_22

    (@lowe_22)


    Hello,

    I have a number of post types nested within the menu of another one:

    Talks
    > Series
    > Speakers

    I’m using show_in_menu => edit.php?post-type=talks in my regsiter_post_type.
    I’d like to use post re-ordering on the ‘Series’ type and add a custom submenu item thus:

    Talks
    > Series
    > Re-Order Series
    > Speakers

    I tried to use the direct link:
    edit.php?post_type=series&page=order-post-types-series

    But that throws a ‘You do not have sufficient permissions to access this page.’ error.

    Is there a way I can integrate Post Types Order into a custom add_sub_menu item?
    BTW, I’m using Advanced Post Type Order

    Thanks!
    Olly

    https://www.ads-software.com/extend/plugins/post-types-order/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nsp-code

    (@nsp-code)

    Hello Olly,
    You should play with the code where it set the additional menus options at
    add_submenu_page(‘edit.php?post_type=’.$post_type_name, ‘Re-Order’, ‘Re-Order’, userdata_get_user_level(), ‘order-post-types-‘.$post_type_name, array(&$this, ‘SortPage’) );
    You can find more details on how to use the add_submenu_page at https://codex.www.ads-software.com/Function_Reference/add_submenu_page

    Or you can simply go for Advanced Post Types Order version which already include that feature.

    Thanks

    Thread Starter lowe_22

    (@lowe_22)

    Hey,

    I’m actually already using Advanced Post Types. How can i set this up using the Advanced plugin?

    Cheers

    Plugin Author nsp-code

    (@nsp-code)

    You will need to make sure the Series post type is active on the setting area and this should do it.
    If for some reason this does not works please contact us for a fast check/fix

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Post Types Order] Direct access to re-order page’ is closed to new replies.