adjacent_post_link Wordpress function


Description:

Display adjacent post link.


Syntax:


Arguments:

(string) $format Link anchor format.
(string) $link Link permalink format.
(bool) $in_same_cat Optional. Whether link should be in a same category.
(array|string) $excluded_categories Optional. Array or comma-separated list of excluded category IDs.
(bool) $previous Optional, default is true. Whether to display link to previous or next post.


Return Type:


Define At:

wp-includes/link-template.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/adjacent_post_link


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×