wordpress snippets last updated   : January 29, 2015
we now have 646 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
         if ( $paged < 2 ) { } else { echo (‘ Page ‘); echo ($paged);} 
source →

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