Support » Plugin: WP Orbit Slider » [Plugin: WP Orbit Slider] order
5 years, 1 month ago
can you order the image slides?
As the slides are custom-post-types they are currently controlled in DATE ADDED order.
So just change your ‘published’ dates to reorganise.
Hope this helps
5 years ago
I had the same problem.. I altered line 674 of index.php in plugins/wp-orbit-slider to read:
// Create an array with default values that we can use to build our query
$query = array('numberposts' => $numberposts, 'post_type' => $post_type, 'orderby' => 'menu_order', 'order' => 'ASC');
Note: This will be over-ridden on plugin upgrade so be careful…
In the following lines it looks like there may be a function for passing cutom query parameters but my PHP is not strong enough to determine if that’s the case…