Tickets › Tickets › Wanium › Sort Portfolio by Title › Reply To: Sort Portfolio by Title
March 6, 2017 at 3:01 am
#1267
Supporter
Hi bleugatti,
Thanks for writing in!
To resolve this issue, please open up the tlg_portfolio.php file in wp-content/plugins/tlg_framework/includes/vc_shortcodes/ folder, find the code below (around line 15 – 18)):
$query_args = array(
'post_type' => 'portfolio',
'posts_per_page' => $pppage
);
… and change it into this:
$query_args = array(
'post_type' => 'portfolio',
'posts_per_page' => $pppage,
'orderby'=> 'title',
'order' => 'ASC'
);
We’ll add this as a feature in next update version of the theme.
Best regards,
Danny
