20020121
I have added Previous/Next tags. They are <?php previous_post() ?> and <?php next_post() ?> and have 5 arguments, that are:
- a string in which the % character is replaced by the link to the post: "blah % blah" would make the tag display "blah <a href="http://mysite.com/index.php?p=50">title of post #50</a> blah" - default is "%"
- a string that says "previous: " or "next: " by default, depending on the tag: you just customize it
- a string "yes/no": display the title of the post ? default is "Yes"
- a string "yes/no": link previous/next post only if it's in the same category ? default is "No"
- a number: default is 1. if you want to link the 2nd previous post, that would be 2, and so on
I have a working example of the usage of previous_post() to generate a list of links to previously posted entries in the same category, here, and the source of the template is here so you can see it's easy to use :)
I have also coded something for BBCode and GreyMatter formatting, but it's not online yet.
- a string in which the % character is replaced by the link to the post: "blah % blah" would make the tag display "blah <a href="http://mysite.com/index.php?p=50">title of post #50</a> blah" - default is "%"
- a string that says "previous: " or "next: " by default, depending on the tag: you just customize it
- a string "yes/no": display the title of the post ? default is "Yes"
- a string "yes/no": link previous/next post only if it's in the same category ? default is "No"
- a number: default is 1. if you want to link the 2nd previous post, that would be 2, and so on
I have a working example of the usage of previous_post() to generate a list of links to previously posted entries in the same category, here, and the source of the template is here so you can see it's easy to use :)
I have also coded something for BBCode and GreyMatter formatting, but it's not online yet.