Index.php is the only template. Depending on what parameters are passed to it, it display the category page, the individual entry page etc.
To get the navigation you wanted, you will need to edit index.php to include the next, previous tags that you already know about if ($single)
if ($single) { <php display the nav links>; }
where display the nav links is the bunch of tags you want to use.
put this in index.php just before the part where the posts are displayed, so it displays on the top of the content for the individual entries.
Thread Starter
Anonymous
Where the if ($single) will go? Tks!
anon, what are the tags that you want displayed on index.php for the individual entries? I could properly describe what it takes if I knew that…
Thread Starter
Anonymous
I want to be able to browse previous and next entries when viewing a single entry.
Thread Starter
Anonymous
I got it to work. Where are the references, so I can know about $single, for posts, for example. Are there any other tags for archives, categories, etc, like the $single one? Tks!
The standard, or at least most useful resources are :
These forums, and the search tool
The wiki at http://wiki.ww.wp.xz.cn (check out the usermanual under construction, you can add to the wiki too)
The docs at http://ww.wp.xz.cn/docs
That said, there is no place the $single and $cat tags etc are listed. You have
$name and/or $p for single posts ($single == $name or $p)
$cat for categories
$m for date based (monthly) archives, like index.php?m=200405
You can more of these by turning off permalinks, and clicking on the various links to find whats appended to index.php in those links, which is what I mostly did.
I imagine a lot of MT switchers will be wanting this functionality. Any chance of making this post sticky?
Thread Starter
Anonymous
Actually, the README.HTML that comes with the WP is pretty good. It is just that you need to have some knowledge of PHP to understand it. Take a look, it is very nice.