Blake H
asked 6 years ago

Hi I would like to not display the featured image of a post in the home page without actually removing the featured image. Is there any way to do that?

2 Answers
Jackie Lord
answered 6 years ago

Open /templates/content.php then remove those lines of code:

 <?php if(has_post_thumbnail()) : ?>
    <div class="entry-thumbnail">
      <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
    </div>
<?php endif; ?>


 

Blake H
replied 6 years ago

Hello Jackie,

Thank you for the support, this worked perfectly. However, I noticed another problem, the “Get Start Now” button in the home page stopped working. When I clicked on it the page is not rolling down. I’m not sure if the previous change affected this? Can you please let me know how to fix it?

Thank you

Dominic Staff
replied 6 years ago

Hi Blake !
Please download the latest version of the DW Timeline. We have updated and fixed this issue.

Xavier Jones
replied 6 years ago

Hello,
Erasing that code does not remove the image part of my home page. I would like the homepage to look like a subpage. How can I do this?

DominicStaff
answered 6 years ago

Hi Xavier !
If you want to disable Feature Image on the homepage, you can add the following code to the Header Code:

<style>
.home .entry-thumbnail {
    display: none;
}
</style>

Hope this helps !

Powered by DW Question & Answer Pro