Definition:
function get_previous_posts_page_link() {}
Retrieve previous posts page link.
Will only return string, if not on a single page or post.
Source code
function get_previous_posts_page_link() { global $paged; if ( !is_single() ) { $nextpage = intval($paged) - 1; if ( $nextpage < 1 ) $nextpage = 1; return get_pagenum_link($nextpage); } }
1645
No comments yet... Be the first to leave a reply!