Hi, Is there any way that I can hide all images, including captions on posts when displayed in an archive, or the home page or similar and only display them when on single post view?
Hi, Is there any way that I can hide all images, including captions on posts when displayed in an archive, or the home page or similar and only display them when on single post view?
Try using <?php the_excerpt();?> in place of <?php the_content();?> in template files where you don't want any images etc to be displayed.
http://wordpress.org/support/topic/257866?replies=8
(edit: might not work on captions)
Great, that was just what I needed alchymyth and yes your right it didnt work on captions text but they look quite neat on their own.
thank you both
This topic has been closed to new replies.