Getting the more tag to work when using query_post
-
Hi, I’m using query_post to pull the most recent post from a particualar category on the main page, it goes like this:
query_post(‘category=1&showposts=1’);
However, if I use the_excerpt within the loop, the amount characters displayed by default is too much, and when I use the_content, it’s not recognising the more tag that I have within the post’s body, it shows the entire post.
Any solutions to this problem?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Getting the more tag to work when using query_post’ is closed to new replies.