hide div when single post is displayed
As the title says I would like to have a div which is hidden when the post is displayed as a single post but shown on the main blog page.
The idea is to have
<div class="excerpt">Here the part I'd like to show up on the main blog page</div><!--more Read more...--> My post
So on the main blog page the excerpt div would be displayed, people click on Read more then the single post is displayed without the excerpt div.
Can this be done? Does this even make sense? I’m not so good at coding sorry, I still have to learn a lot.
- The topic ‘hide div when single post is displayed’ is closed to new replies.