If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)


Featured templates

WordPress Blogging theme. How to change order of slides

This tutorial shows how to change order of slides in Blogging theme.

Originally Blogging themes do not have sample images, so you will need to upload your own ones.

Slider is set with the help of Smart Slider Widget – you can find it under Appearance -> Widgets tab in your dashboard.

You can adjust slider widget settings there, to change order of slides, you will need to edit class-tm-smart-slider-widget.php file, located in the wp-content/themes/themeXXX/inc/widgets/tm-smart-slider-widget/ folder on your server.

To change the order of slides, you should do the following:

  1. Log in to your hosting cPanel file manager or connect via ftp;

  2. Navigate to wp-content/themes/themeXXX/inc/widgets/tm-smart-slider-widget/ folder on your server;

  3. Open class-tm-smart-slider-widget.php file to edit;

  4. Locate the following code (you can use ‘search in file’ feature):

    public function get_query_slider_items( $query_args = array() ) {
    		$defaults_query_args = apply_filters( 'wild_ride_smart_slider_default_query_args', array(
    			'post_type'      => 'post',
    			'orderby'        => 'date',
    			'order'          => 'ASC',
    			'posts_per_page' => -1,
    			'offset'         => 0,
    			'tax_query'      => array(),
    		) );

    ‘orderby’ sort retrieves posts by parameter. Defaults to ‘date (post_date)’. One or more options can be passed.

    ‘order’ designates the ascending or descending order of the ‘orderby’ parameter. Defaults to ‘DESC’. An array can be used for multiple order/orderby sets.

    Please note there are 2 available order values: DESC and ASC.

    Please refer to the following link for more details on order parameters.

  5. Change ‘order’ and/or ‘orderby’ value:

  6. Save the settings in the file.

Feel free to check the detailed video tutorial below.

WordPress Blogging theme. How to change order of slides
Live Chat
We help you to choose the right product.
Start chat