Remove previous and next link on single post

  • maurizio

    #9156

    The two links are not particularly useful and worse, they sometimes get picked up by Google search and the post go in worng place on the Google index.

    The CSS solution already posted is not working, but I’s prefer to have the links removed from the code.

    Any chance of an option button in the custom menu?

    Any other suggestion?

    Thanxs

    Oliver

    #42889
    .single .previous, .single .next-post {
    display: none;
    }

    maurizio

    #42890

    Next and previous link BEFORE the post body is bad SEO…

    i have two post crosslinked in the Google search….

    this will get rid of it.

    <?php graphene_post_nav(); ?>

    loop-single.php

    loop-post-format.php

    Mod

    Kenneth John Odle

    #42891

    Again, it is NOT advisable to edit theme files. Do this in a child theme.

    Put code in between backtick (

    Code:
    `

    ) characters. It’s usually located above the Tab key on your keyboard.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.