Okay
  Public Ticket #597839
Removing featured image from portfolio page
Closed

Comments

  • Adrian started the conversation

    I would like to remove the featured image from individual portfolio pages.

    I still want the featured images to appear on the homepage portfolio section, but not on the individual portfolio page.

    So basically, each individual portfolio page would begin with the post title, followed by content and then comments.

    Is there any way I can remove those photos? I don't mind tweaking the code a little. I'm using a child theme anyway.

    Thanks for the support.

    Adrian.




  •  241
    Elena replied

    Hi Adrian,

    Unfortunately we do not provide support on customisations, but offer complete, free support for issues related to the theme\'s functioning.

    By the way I can put you on the right track: to remove the featured image from portfolio single pages you should remove the block of code on lines 25-33 from view-item.php file.

    <?php if ( has_post_thumbnail() ) : ?>
    
        <div class=\"post-pic\">
    
            <?php get_template_part( \'featured\', get_post_format() ); ?>
    
        </div>
    
    <?php endif; ?>