http://www.chungho.net/?page_id=2922
“I’m not a registered order is my portfolio items recently
The first has been a registered order.”
check this
I need to change list sorting portfolio item to
showing list start to first portfolio item to end recent item
it must be start sorting to first item “NO.1/NO.2 티니이과수 얼음냉정/냉온 정수기”
how can i do this?
Hi knave2!
You can add this on functions.php:
add_filter('avia_post_grid_query', 'avf_custom_post_grid_query');
function avf_custom_post_grid_query ( $query ) {
$query['orderby'] = 'date';
$query['order'] = 'DESC';
return $query;
}
Refer to this link for more sorting parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Best regards,
Ismael
i add this code in enfold/functions.php
but not working..
there have a next step?
how to use it?
Hi!
Please try to change the order and replace DESC with ASC (ascending order).
Cheers!
Peter