• Hi,

    How do i enable this plugin for custom post types, i am using this format
    `register_post_type(‘vids’,
    array(
    ‘label’ => __(‘Videos’),
    ‘singular_label’ => __(‘vids’),
    ‘public’ => true,
    ‘show_ui’ => true,
    ‘capability_type’ => ‘post’,
    ‘hierarchical’ => false,
    ‘rewrite’ => array( ‘slug’ => ‘all-videos’, ‘with_front’ => false ),
    ‘query_var’ => false,
    ‘supports’ => array(‘title’, ‘editor’, ‘author’, ‘thumbnail’, ‘custom-fields’),
    ‘taxonomies’ => array( ‘post_tag’, ‘category ‘),
    ));


    if i enable the plugin it just shows me x from total custom post in the wp-admin. I don’t get the “plus sign” to drag and drop (with pages it seems to work)
    regards

    https://www.ads-software.com/extend/plugins/simple-page-ordering/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter DDT

    (@ddt)

    ok found it total forgot to set
    'hierarchical' => true,

    Plugin Contributor Jake Goldman

    (@jakemgold)

    How’s it working? I’ve had at least one user (who gave it a 1 star review hurting downloads) say it’s not working at all (with no further insight).

    I think some of the worst shared hosts are timing out the AJAX requests (which are fairly heavy).

    Hi Jake,

    I came with the same problem, it wasn’t even showing me the Drag cursor. Just to mention : instead of having the register_post_type function in my functions.php i used the “More Types” plugin to create custom post types.

    But when i checked “Hierarchical = Yes” in the “More Types” plugin settings, Simple Page Ordering worked, as found by user DDT above. All is good.

    And i have one small ‘thing’ to report : if you see this https://cl.ly/af259e68a57e9554ef6f

    That happens when i have Author, Date, Comments etc columns hidden using ‘Screen Options’. May be the plugin can learn to see which Screen Options are turned off in future releases. I realize its just the beginning ??

    Great plugin & works as expected. Thank you for releasing for free.

    loremipsum

    (@loremipsum)

    Great plug-in!

    I wish someone made a plug-in like that for regular posts. I’ve been using the Sticky Post Orderer, but many of my clients complain that it’s too difficult to manage. Drag-and-drop is just so much more intuitive.

    This is a great plug-in! I love it. I am having one strange issue. In using this with custom post types I am not seeing the ordering update on the front end. In the admin panel it works great. Here is how I am getting the posts in the template:

    <?php $loop = new WP_Query( array( ‘post_type’ => ‘postTypeNameHere’, ‘posts_per_page’ => 40 ) ); ?>

    Any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simple Page Ordering] How do i enable this plugin for custom post types??’ is closed to new replies.