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

    Dear Sir

    When i upload featured image in single post, i can choose Don’t display image on single post, but it still show in archive, how can i remove it from archive, not show in archive??

    Thanks

    #283999

    Hi remix1998!

    Thank you for using our theme.

    If you want to remove the featured image from the archive page, you need to use enfold-child theme and it needs some modifications to the php source.

    If you want to do this, i can send you the modified files.

    Best regards,
    Günter

    #284493

    Dear Sir

    Thanks for your help.

    I am not good at php code, can you show me where can i modify php code ?

    loop-archive.php is this file ?

    appreciate ~

    #284496

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .archive .big-preview.single-big { display: none !important; }

    Best regards,
    Yigit

    #467597

    it is better to hide the images with a hook. ??? Because Speed and SEO

    Is there a hook php to disable the image?

    #468273

    Hi!

    You’d need to modify includes/loop-index.php:102-107:

            if(!is_archive()){
                if(strpos($blog_style, 'big') !== false)
                {
                    if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
                    if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>';
                }
            }
    

    Regards,
    Josue

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