WordPress.org

Ready to get started?Download WordPress

Forums

Simple Custom Post Order
Plugin broken in WP v.3.8 (5 posts)

  1. erikjoens
    Member
    Posted 9 months ago #

    Stopped working after update,

    drag-n-drop in admin seems to be working. This however no longer affects the output order in front-end.

    Great plugin! It's been very usefull, I hope it will continue to be usefull once this issue is resolved :)

    http://wordpress.org/plugins/simple-custom-post-order/

  2. jbckmn
    Member
    Posted 8 months ago #

    I've fixed this.

    Let me know if you want more of an explanation, but here's a hot fix:

    - Go to line 348 in simple-custom-post-order.php inside this plugin's folder.
    - Replace:
    if ( !isset( $wp_query->query['orderby'] ) || $wp_query->query['orderby'] == 'post_date' )
    with:
    if ( !isset( $wp_query->query['orderby'] ) || $wp_query->query['orderby'] == 'post_date' || $wp_query->query['orderby'] == 'date' )

  3. erikjoens
    Member
    Posted 8 months ago #

    Awesome thx! I'll give it a try :)

  4. Plugin Drawer (Joshua Hammill)
    Member
    Posted 6 months ago #

    Thanks! This worked perfectly.

  5. nikoza
    Member
    Posted 6 months ago #

    Hey there,

    In the line: 299 of the plugin the author checks whether the post (post type) is selected from the admin in order to change the status to active = true.

    Can somebody tell me why is this required? Initially I did not select the post (post type) and the changes i did in another post type did work on the front end.

    If you face the same problem remember to select post (from the options menu of the plugin) and you will be fine.

    Thanks,
    Nick

Reply

You must log in to post.

About this Plugin

About this Topic

Tags