Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #749066

    I wanted to change that category page & archive show entire post. I searched and found solution:
    https://kriesi.at/support/topic/category-page-shows-full-posts/
    However this code destroy my Masonry content element on home page, so could you be so kind and provide me code which will apply only for Category & Archive, but not for Masonry?
    Thanks.

    #751009

    Any update?

    #751010

    Hey!

    Can you please provide us backend access so we can quickly change it for you?
    Please make sure before, there is a child theme in place so we can work on it.

    Thank you

    Regards,
    Basilis

    #751349
    #753492

    Hi,

    The category pages are displaying the whole post or content.

    // http://cheaptrip.sk/category/bali/

    What is wrong with the masonry element? Could you please provide a link to the page with the issue?

    Best regards,
    Ismael

    #753801

    Sorry I made a mistake:
    I wanted to change that category page & archive show only excerpt not the full story.
    Is it possible?
    Thanks.

    • This reply was modified 7 years, 8 months ago by cheaptrip.
    #754099

    Hey!

    Yes, that is possible. Please add this filter in the functions.php file.

    function change_blog_archive_style() {	
    	global $avia_config;
    	if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; }
    }
    add_action('get_header', 'change_blog_archive_style'); 

    Please copy the code directly from this forum, not from your email.

    Regards,
    Ismael

    #755954

    Thanks Ismael.
    Now it shows excerpt but without featured image, could you kindly provide code to show it too?

    #756135

    Hey!

    We added this filter in the functions.php file:

    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2);
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'multi-big';
    return $layout;
    }

    // http://cheaptrip.sk/lovina-amed/

    Regards,
    Ismael

    #756244

    Thanks Ismael.
    Now it shows pictures in category, but they are not aligned.
    Can you do it in the same way how it shows in blog? Pictures are bigger and aligned.
    Also would it be possible to do same for tags?

    #756722

    Hey!

    Please add this css code to align the featured image.

    .big-preview {
        display: block;
        padding: 0 0 20px 0;
    }

    And add this filter in the functions.php file for the tag page.

    add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); 
    function avia_change_tag_blog_layout($layout, $context){
    if($context == 'tag') $layout = 'multi-big';
    return $layout;
    }

    Best regards,
    Ismael

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