query_posts() disables “<!–more–>” functionality
-
Hi all,
I’ve looked around on the forums for a bit but couldn’t find an answer to the question I have, so here goes:
Beside the main template for my site I have a second template that’s exactly the same, a copy of the main index template except for this line:
<?php query_posts(‘cat=37’); ?>
When I use the <!–more–> tag within an item on the main page it works fine. When using it on the second page it doesn’t seem to have any effect though.
I’ve tried removing the query_post call and this fixes the problem. However this is not an option since this is the whole point of my second template (it acts like a filter).
I’m showing my items in both templates using:
<?php the_content(“Continue reading ” . the_title(”, ”, false)); ?>Is there anyone that has a solution to this problem or can point me in the right direction here? Is this a known bug?
Thank you all in advance.
Best regards,
Robert
The topic ‘query_posts() disables “<!–more–>” functionality’ is closed to new replies.