There is no syntax for it because it’s a nonsense… there are blogs with several thousands posts, so it is simply not practical to have something like that.
I can easily display an archive of posts by category, month, day, or year but this is not what I am looking for.
What are you looking for then? Could you be a bit more descriptive? Have you looked at the many and assorted archive plugins?
I have made my theme with a custom home.php.
What I am looking for is basically a way to allow my readers to access what would be the default index.php. This would showing the latest posts (number defined in my wp-admin reading options) with “previous” and “next” navigation buttons allowing browsing through the posts. This view would not be limited by category or specific dates.
Simply accessing http://www.sendusout.com/index.php does not work as the presence of the home.php is overriding this file.
My solution was found here. http://codex.wordpress.org/Pages#Page_Templates
- I copied my home.php to a new name (homepage.php) and inserted the code to define it as a template_page.
<?php
/*
Template Name: Homepage
*/
?>
- I created a new page in the wp-admin called “Homepage” and chose my new template_page (Homepage) as its template. Apart from the title I left this page empty in the wp-admin as all the content came from the template.
- In the p-admin > options > reading I chose “front page displays: A static page and chose my new Homepage I just created
- Repeated this process by copying index.php and making a template called Posts out of it and assigning it to the static posts page in wp-admin > options > reading
Everything is working great now.
thank you thank you thank you! this is just what i was looking for!!