If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’ve just added a second portfolio page to my site. That page is working fine after selecting the single portfolio category for that page (local professionals).
The problem is that the other portfolio (herne bay recent sales) is now not loading in the correct date sequence as it was before. If I add the local professionals into the portfolio catergory for the other page, it loads the local professionals first, then the properties in the correct date sequence. The other odd thing is that the widget is still loading the recent sales in the correct order on all pages it appears.
Can you please help with this.Site is http://www.lcoalagent.co.nz/hernebay
Strange – please try to add following code to the bottom of functions.php
function loop_portfolio_query( $location )
if ( $location == 'loop-portfolio' )
$avia_config['new_query']['orderby'] = "date";
$avia_config['new_query']['order'] = "DESC";
add_action( 'avia_action_query_check' , 'loop_portfolio_query', 10, 1 );
If it doesn’t work please try to deactivate all third party plugins and check if this affects the order.
Thanks for the reply.
I have tried to insert that code and also remove all thrid parties but no change.
I imagine I was surposed to insert this code at the bottom just before this line? correct. Thanks Pat
<?php get_footer(); ?>
The topic ‘Choices Portfolio not loading in date order’ is closed to new replies.