I just upgraded to 2.5, and on some external pages where I pull post text from WP, the_content is showing the entire content and not stopping where the ‘more’ tag is placed.
Here is the loop:
<?php $my_query = new WP_Query('category_name=howto&showposts=2'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?> <a>"><?php the_title(); ?></a>:<?php the_content(); ?> <?php endwhile; ?>
Within WordPress the_content is working as it is supposed to, and showing the more link.
Is there some change to the 2.5 code that would make it behave like this?
- The topic ‘the_content not responding to the “more tag” outside of WP’ is closed to new replies.