Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #164872

    I set up a featured image on a page and automatically that featured image it shown on the top of my page. I don’t want that.
    It is possible to remove it from pages without removing the featured image itself (I use that image for a plugin)?


    Hey scisterna!

    You can add this on your custom.css or Quick CSS to hide the featured image on pages:

    .page .page-thumb {
    display: none;



    I don’t want to do it in that way because Google will find that I’m hidding something and it could be penalized.
    It is possible to do it from the php?




    Edit includes > loop-page.php, find this code:

    $thumb = get_the_post_thumbnail(get_the_ID(), $avia_config['size']);
    				if($thumb) echo "<div class='page-thumb'>{$thumb}</div>";

    Remove it.,

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Remove featured images on pages’ is closed to new replies.