Wordpress fix

WordPress the_content() ignores <!–more–> tag

If you override the query by using get_posts() and the_content() starts to ignore¬†<!–more–> tag, here is verified solution to solve the problem:

<?php global $more; $more = 0; the_content(); ?>

$more = 0; turns <!–more–> tag on
$more = 1; turns <!–more–> tag off

Be the first to start the conversation.

Leave a Reply

*
*

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>