I have created a custom plugin that pulls video and images out of a post and puts them into a nicely formatted set of galleries. The only problem is that the plugin doesn’t allow me to put a video or image before the more tag without creating a mini gallery. Is there a name or way to adjust my plugin to make it only read the_content that comes AFTER the more tag?
Leave a Reply
You must be logged in to post a comment.
I think you can use the
get_extended( $post )
function; that returns an array with different parts of the content. See this example which works inside the Loop: