Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #230443

    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?

    #230472

    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

    #231594

    i add this code in enfold/functions.php

    but not working..

    there have a next step?

    how to use it?

    #232163

    Hi!

    Please try to change the order and replace DESC with ASC (ascending order).

    Cheers!
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.