Hi there,
I am using the ‘latest news’ or Newsbox Widget in the sidebar. Unfortunately the listed news are not the latest.
If I go into class-framework-widgets.php and change line 425 into:
$additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count."&orderby=post_date&order=desc");
It does show the latest news.
Is that a bug or did I miss some configuration?
Thanks in advance
Hi 2SINN!
Are you using some kind of plugin that edits the query arguments? Try deactivating them all to see what happens.
What version of Enfold are you using?
Best regards,
Elliott
Hi Eliott,
we are using Version 3.1.3. I don’t think any of the installed plugins changes the queries.
Regards,
2SINN
Hey!
Have you tried deactivating them to check? The default order should be latest.
Also try completely deleting the theme before downloading + uploading a fresh copy from themeforest to see if it’s because of a customization that has been done.
Best regards,
Elliott
Hi,
this post was locked for some reason, so I couldn’t reply.
The problem was a plugin called “Simple Custom Post Order”. When I unchecked to order ‘posts’ in the settings, the newsbox worked as it should. Thanks for the tip!
Best regards
Hey!
glad Elliott could helps you. Let us know when you need some more help with the theme.
Regards,
Andy