get_boundary_post() – Function description, parameters and basic usage

Description:

get_boundary_post is very useful if you want to include show first or last post button below your single post or in you main index page.

Parameters:

$in_same_cat(optional)(boolean) – true if you want to show the first/last post for the current category $excluded_categories(optional)(string) –┬áString of comma-separated category ids $start(optional)(boolean) – true to show first

Basic usage examples:

About Pavel Petrov 2 Articles |  17 How-tos

Pavel is a senior developer for the last 7 years, with extended interest in Linux administration, WordPress and Symfony.


Be the first to comment

Leave a Reply

Your email address will not be published.


*