wordpress snippets last updated   : August 18, 2014
we now have 638 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!

jqsnipp.com | we just launched jquery snippets website