Description
Can be used to replace the entire div.prev_next which contains previous/next comment page navigation on individual posts and pages (if paginated comments are enabled within WordPress).
Can also be used to change just the text of the “Previous/Next Comments” (as shown in the example below).
Also takes a second argument, $position.
Example
function my_comments_nav($content) {
$before = array('Previous','Next');
$after = array('Older','Newer');
$content = str_replace($before,$after,$content);
return $content;
}
add_filter('thesis_comments_navigation', 'my_comments_nav');
History
- This filter was added in version 1.5.