wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Adding page numbers to category, tag and post titles

wordpress snippet

Add this snippet to the title tag and meta descriptions to avoid duplicate content. Place within the header.php and Page 2 or above will be added to your wordpress pages.

snippet :  PHPcopy
<?php 
         if ( $paged < 2 ) { } else { echo (‘ Page ‘); echo ($paged);} 
?>
source →

Did you like this post? If so please share it with your friends. Thanks!