Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4494

    Hello,

    thanks to Dude for all the assistance with my theme so far – I have one further modification – how can I edit the Broadscope Latest news widget to display posts in ascending order (as I’m using posts to display events I’d like to show the events in order of coming dates)?

    Thanks in advance!

    #46540

    Hey,

    in broadscopeframeworkphpclass-framework-widgets.php replace:

    if(empty($this->avia_term))
    {
    $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count);
    }
    else

    with:

    if(empty($this->avia_term))
    {
    $additional_loop = new WP_Query("cat=".$cat."&order=ASC&posts_per_page=".$count);
    }
    else

    #46541

    Hi,

    thanks for this, followed the above but the post order remained the same unfortunately. If you could take another look thatw ould be great.

    Thanks again

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Broadscope Latest New widget – display posts in ascending order’ is closed to new replies.