WordPress.org

Ready to get started?Download WordPress

Forums

Simple Page Ordering
How do i enable this plugin for custom post types?? (6 posts)

  1. DDT
    Member
    Posted 4 years ago #

    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

    http://wordpress.org/extend/plugins/simple-page-ordering/

  2. DDT
    Member
    Posted 4 years ago #

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

  3. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 4 years ago #

    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).

  4. Debasish Panda
    Member
    Posted 3 years ago #

    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 http://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.

  5. loremipsum
    Member
    Posted 3 years ago #

    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.

  6. envoymatt
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic