Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #619230

    A) When i add this to the archive.php it is ordering the posts after slug name
    get_header();
    $posts = query_posts($query_string . ‘&orderby=name&order=asc&posts_per_page=-1’);
    But this is not update proofed!

    May also possible to hook into the header via the functions.php:
    get_header();
    add_filter(‘avia_blog_post_query’, ‘avia_blog_post_query_mod’);

    function avia_blog_post_query_mod( $query ) {
    $query[‘orderby’] = ‘name’;
    $query[‘order’] = ‘ASC’;
    return $query;
    }

    __
    B) How can i change order of the blog entry shortcode:
    [av_blog blog_type='posts' categories='28' link='category' blog_style='blog-grid' columns='1' contents='no' content_length='excerpt' preview_mode='custom' image_size='large' items='4' offset='no_duplicates' paginate='no' conditional='']
    Linked page below

    #619239

    Also the insering of this code does not do the job! Because the filter in the menu is not filtering anymore. just viewing all the post entries.
    $posts = query_posts($query_string . ‘&orderby=name&order=asc&posts_per_page=-1’);

    I need to talk to the search and filter plugin developer parallel and refere to this post.

    #619245
    #619265

    sorry fixed by the plugin author.

    #621069

    Hi,

    Sorry for the late reply. Great to hear that you got it working, please let us know if you should need any more help on the topic.

    Best regards,
    Rikard

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