Caption shortcode showing in excerpt
-
Hi
I’ve got a “Latest blog post” section on my home page, linking to the latest blog post with a picture and a short excerpt. However, the excerpt is also including the picture caption as a shortcode. Is there any way I can get it to ignore this? Can’t find anything in the Function Ref – not to say there’s nothing there.My code is this:
<p class="blog-link-excerpt"><?php echo get_excerpt('220'); ?><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><span class="more"> Read More</span></a></p>
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Caption shortcode showing in excerpt’ is closed to new replies.