previous_post / next_post Parameter problems
-
From the documentation, it seemed to me that with something like that:
<?php previous_post('previous', ' ', 'yes', 'no', 1) ?>
I would get a link that said “previous” and linked to previous post. But looks like if I remove the % from the 1st parameter it won’t link anymore. If I put something like that in the 1st parameter: ‘previous: %’ then I get a link including the name of the entry preceded by “previous: ” (that’s what I’m trying to avoid, I just want “previous” and “next” links) so the second parameter seems kinda redundant.
I feel really stupid ’cause I’m probably totally missing the point here…
The topic ‘previous_post / next_post Parameter problems’ is closed to new replies.