Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #360241

    Hello,

    My blog page uses a custom layout using the magazine module.
    My problem is that if you view a specific category, it shows all the posts, but without the post preview image.
    How can I add that preview image into category pages ?

    Thanks
    Dan

    #360627

    Hey tech500!

    Thank you for using Enfold.

    Looks like you didn’t apply featured images on the posts. Edit the posts then add featured images. It should show as preview image on archive pages.

    Cheers!
    Ismael

    #360633

    Ismael,

    Featured image is enabled and set, but still, no preview is shown.

    Dan

    • This reply was modified 10 years ago by tech500.
    #360639
    This reply has been marked as private.
    #361241

    Hi!

    please refer to this post: https://kriesi.at/support/topic/how-can-i-show-the-feature-image-on-category-page/#post-340867 and as Ismael wrote add this to functions.php:

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

    Hope that helps.

    Regards,
    Andy

    #361372

    Andy, it works.

    And If anyone interested:
    To disable the preview featured image light box, not clickable, add this custom css:

    .big-preview.multi-big a {
    pointer-events: none;
    }

    And to hide the Author icon, use $layout = 'single-big' instead of $layout = 'multi-big'
    Thanks

    Dan

    • This reply was modified 10 years ago by tech500.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Blog category preview thumbs’ is closed to new replies.