Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1834

    Hi all,

    I try to sort the postings in the widget the other way around, from ascending (count) to descending (count). Can someone figure this out?

    Please help me out!

    thx

    #36143

    Change following code in sidebar_news.php located under newscastframeworktheme_widgets

    $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count);

    to

    $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count."&order=ASC");

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

The topic ‘news widget -> descending news post’ is closed to new replies.