- b2evolution CMS User Manual
- Developer Reference
- Website Skins/Themes
- Skin Tags / API
- Other Tags
- Templare Tag: Item Prev/Next Links
Templare Tag: Item Prev/Next Links
Links to previous and next post in single post mode.
Example
<?php
item_prevnext_links( array(
'block_start' => '<table class="prevnext_post"><tr>',
'prev_start' => '<td>',
'prev_end' => '</td>',
'next_start' => '<td class="right">',
'next_end' => '</td>',
'block_end' => '</tr></table>',
) );
?>
Result: « Post title #1 ::::::::::::: Post title #2 »
Parameters
- Name: block_start
- Default: Displayed before previous and next links block.
- Name: prev_start
- Default: Displayed before previous link.
- Name: prev_end
- Default: Displayed after previous link.
- Name: next_start
- Default: Displayed before next link.
- Name: next_end
- Default: Displayed after next link
- Name: block_end
- Default: Displayed after previous and next links block.
Return value
This tag displays content only, it does not have a return value.