Home / category / Adding page numbers to category, tag and post titles
  • How to Adding page numbers to category, tag and post titles

    adding-page-numbers-to-category-tag-and-post-titles

    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.

    wordpress snippet : PHP

    <>
    <?php
             if ( $paged < 2 ) { } else { echo (‘ Page ‘); echo ($paged);}
    ?>
    

    ( WordPress codex functions, hooks, in this snippet. )