How do I avoid image caption in summary on front page?
-
Hello,
If I place an image with an image caption at the top of a post and take a look at it on my index page, it will include the image caption as part of the summary of the post. It doesn’t matter whether I use the excerpt code or the <?php the_content(); ?>
How do I avoid including the image caption from the top image as part of the small post summary? Should I apply some kind of filter to this code?: <?php the_content(); ?>
Here is my code of home.php:
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘How do I avoid image caption in summary on front page?’ is closed to new replies.