Powered by MediaWiki
Personal tools

Tag item prevnext links

From b2evolution manual

Jump to: navigation, search

Links to previous and next post in single post mode.

[edit] Example

<source lang="php"> <?php

 item_prevnext_links( array(
'block_start' => '', 'prev_start' => '', 'next_start' => '', 'block_end' => '
', 'prev_end' => '', 'next_end' => '
',
 ) );
 ?>

</source>

Result: « Post title #1      Post title #2 »

[edit] Parameters

Name Usage
block_start Displayed before previous and next links block.
prev_start Displayed before previous link.
prev_end Displayed after previous link.
next_start Displayed before next link.
next_end Displayed after next link
block_end Displayed after previous and next links block.

[edit] Return value

This tag displays content only, it does not have a return value.