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

  1. erikjoens
    Posted 2 years 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 :)


  2. jbckmn
    Posted 2 years 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' )
    if ( !isset( $wp_query->query['orderby'] ) || $wp_query->query['orderby'] == 'post_date' || $wp_query->query['orderby'] == 'date' )

  3. erikjoens
    Posted 2 years ago #

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

  4. Plugin Drawer (Joshua Hammill)
    Posted 2 years ago #

    Thanks! This worked perfectly.

  5. nikoza
    Posted 2 years 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Custom Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic