Forum Replies Created

Viewing 1 replies (of 1 total)
  • Start by logging into your admin backend and going to the theme editor. Once there (assuming you’ve got this theme active now) click the link on the right for the loop-slider.php file.

    Near the top you will find the lines:

    $args = array(
    'posts_per_page' => 4,
    'paged' => $paged,
    'ignore_sticky_posts' => 1
    );

    Firstly put a comma after the 1 on the ignore stick posts line then underneath add the following:

    'order' => ASC

    That should do it. That whole block should now look like this:

    $args = array(
    'posts_per_page' => 4,
    'paged' => $paged,
    'ignore_sticky_posts' => 1,
    'order' => ASC
    );

    If there are any other ways you want to change the query made here check out the WordPress codex, specifically the function reference for query_posts.

    Hope I’ve helped.

Viewing 1 replies (of 1 total)