Skip to main content
1 vote

Set noindex page-comment from Pages 2, 3 and More?

function noindex_comments_pages() { global $cpage; if (!empty($cpage) && $cpage > 1) { echo '<meta name="robots" content="noindex">'; echo "\n&...
Boyzen's user avatar
  • 23
1 vote

Customizing comments pagination for bootstrap

Just replace that snippet for this one: <?php $pages = paginate_comments_links(['echo' => false, 'type' => 'array']); if( is_array( $pages ) ) { $output = ''; ...
Ismaelj's user avatar
  • 174

Only top scored, non community-wiki answers of a minimum length are eligible