Different latest post with other posts (Query Question)
-
Right now all my posts in my index page are excerpts
I want to query the latest post and make it function with the <!–more–> tag.
How do I query the first post and put the condition ?I want it to be like
<?php while (have_posts()) : the_post(); {
if query_post(latest post)
the_content();
else
the_excerpt();
} ?>I think the query part is wrong though. I have no idea which to use. Any help here ?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Different latest post with other posts (Query Question)’ is closed to new replies.