Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #567082

    hi, i use the content item “post” to show my posts of one category. i have 3 questions:
    – how i can select the order (date, id, ascending, discending,…) to show the posts?
    – how i can centralize the title of post?
    – how i can hide the title of category posts?
    thanks

    #567565

    Hi Pas7o!

    1. Please see here, http://kriesi.at/documentation/enfold/change-the-sort-order-of-blog-posts-elements/.

    2. + 3. Add this to your custom CSS.

    .post-title a {
        text-align: center;
        display: block;
    }
    .blog-categories { display: none !important; }
    

    Best regards,
    Elliott

    #567986

    1 ok, thanks. it’s work.

    2+3 where i put the code? into enfold –> general style —> css or in appareance —> editor —> style.css?

    thanks

    #568039

    i utilize the standard editor to put the content into the page. i select the content item “posts” and this is the code:

    [av_blog blog_type='posts' categories='5' link='category' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='-1' offset='0' paginate='yes' conditional='']

    can you give me the code for order by (date, id, title,…) and order (ascending, discending), please? thanks

    #568182

    Hey!

    Please take a look here
    https://kriesi.at/support/topic/add-orderby-to-av_blog/

    to understand how it works and what you need to do.
    Please do let us know if you have more questions, we will be more than happy to help you out.

    Regards,
    Basilis

    #568547

    don’t work. can i add this code into functions.php

    add_filter(‘avia_blog_post_query’, ‘avia_modify_post_grid_query_desc’);

    function avia_modify_post_grid_query_desc( $query ) {
    $query[‘orderby’] = ‘date’;
    $query[‘order’] = ‘DESC’;
    return $query;
    }

    and this is the code into the standard editor:
    [av_blog blog_type='posts' categories='5' link='category' blog_style='blog-grid' columns='3' contents='title' content_length='content' preview_mode='custom' image_size='medium' items='-1' offset='0' paginate='yes' conditional='' orderby='date']

    but it don’t work.

    • This reply was modified 8 years, 3 months ago by Pas7o.
    #569402
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.