• Simon

    (@simonmaddox)


    What sets the order of a category post in the custom widgets? We have found that changing the published date on a post does not seem to alter the order in the widget

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @simonmaddox

    The published date should change the order of the posts shown in the widgets. So, can you once properly check on it and confirm?

    Thanks.

    Thread Starter Simon

    (@simonmaddox)

    I can confirm that the order is not set. Adding the following to the args before calling WP_Query in the widgets fixed it:

                            'orderby'               => 'date',
                            'order'                 => 'DESC',
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order of posts in widgets?’ is closed to new replies.