[caption] code showing on truncated content feed
-
On the main posts page (blog), the content that feeds through there is showing the [caption] code: https://www.katetremills.com/messages/
Using this to truncate the amount of content feeding through:
<?php echo wp_trim_words( get_the_content() , 85, “… Read More” ); ?>What’s the best way to ensure the [caption] code doesn’t show?
Thanks!
- The topic ‘[caption] code showing on truncated content feed’ is closed to new replies.