using the LOOP to display a single post?
-
hey
i’m trying to figure out how to use the loop to display a single (the most recent) post. i have loop with several if/then sequences to change the apperance based on catagory number or location in my site, but i’m trying to find a way to have a single post shown.
clearly, i don’t want to change the ‘viewing’ settings in the control panel, and tacking some bits of code to the top of the page won’t do either, because it would effect all subsequent loops. i need SOME kind of way to limit the return to a single post, but i can’t figure out how to do that exclusively from within the loop. any suggestions?
i’m using WP 1.5.2, i looked on the codex, but it wasn’t much help. thanks!
The topic ‘using the LOOP to display a single post?’ is closed to new replies.