Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    Look in your theme’s loop.php and change this:

    <?php if ( is_single() && ! is_page() ) : ?>
            <div class="post-nav clearfix">
                <p id="previous"><?php previous_post_link(); ?></p>
                <p id="next-post"><?php next_post_link(); ?></p>

    to this:

    <?php if ( is_single() && ! is_page() ) : ?>
            <div class="post-nav clearfix">

    Thread Starter rseaver06

    (@rseaver06)

    I didn’t find that but I did find this :

    ‘<?php /* Posts navigation for single post pages, but not for Page post */ ?>
    <?php if (is_single() && !is_page()) : ?>
    <div class=”post-nav clearfix”>
    <p id=”previous”><?php previous_post_link(); ?></p>
    <p id=”next-post”><?php next_post_link(); ?></p>
    <?php do_action(‘graphene_post_nav’); ?>
    </div>
    <?php endif; ?>’

    So I just removed it and tried it. Seems to work. What do you think? Could removing it have a negative effect? Thanks for your help!

    Could removing it have a negative effect?

    Yes. When you update the theme, your changes will be gone.

    Insert this into the theme’s Custom CSS option instead:

    .post-nav {
       display: none;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove navigation links’ is closed to new replies.