query_posts
-
Hi, I am new to wordpress and php, so I hope you can help me.
I want to create a new page which shows the last 5 posts (beside the latest one, which is shown in the index.php-i choose 1 post per page in the options menu of the admin panel)I searched and tried the
<?php query_posts('showposts=5'); ?>but still it does not work.
My full code looks like this:
[Code moderated: Use http://wordpress.pastebin.ca instead]
I hope someone can help me with this. Thanks a lot in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘query_posts’ is closed to new replies.