ColorlibHQ / simple-custom-post-order

Order posts(posts, any custom post types) using a Drag and Drop Sortable JavaScript. Configuration is unnecessary.
http://wordpress.org/plugins/simple-custom-post-order/
GNU General Public License v3.0
31 stars 20 forks source link

Custom loop written doesn't use SCPO order #91

Closed bythebootstrap closed 7 months ago

bythebootstrap commented 4 years ago

I've been working with WPMU-dev to resolve the issue, see the ticket here: https://premium.wpmudev.org/forums/topic/post-order-not-showing-up/

I am using the following PHP loop: `<?php

if(have_posts()): global $wp_query; $args = array_merge( $wp_query->query, array( 'post_type' => 'any' ) ); query_posts( $args ); while(have_posts()) : the_post();

get_template_part('content', get_post_format());

endwhile; else : echo '

No Content Found

'; endif; wp_reset_postdata(); ?>`

But it isn't using the order set on the back end... Is there an "orderby" value I need to add to my loop?

Thanks,

TeoAlex commented 7 months ago

Please add orderby value menu_order, because SCPO uses menu_order.