• heartonsleeveweakatknees

    (@heartonsleeveweakatknees)


    I apologise if this is a stupid question – I’m not very good at this sort of thing & I made an attempt to work it out but I couldn’t.

    I’m using the Distinction theme & would like to remove the link at the bottom of each post that links to a previous post and next post.

    I’m not sure if this is theme specific or not but I thought it may be so that’s why I have posted it here.

    Can somebody help me with how to do this? I would just prefer it if when you read the post it doesn’t direct you to previous or following posts as that’s not the kind of flow I want on the site.

    Many thanks

    https://www.ads-software.com/extend/themes/distinction/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author James Laws

    (@jameslaws)

    You would basically want to delete…

    <div id="nav-below" class="navigation">
      <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'wpnj_distinction' ) . '</span> %title' ); ?></div>
      <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'wpnj_distinction' ) . '</span>' ); ?></div>
    </div><!-- #nav-below -->

    from the bottom of loop-single.php

    Thread Starter heartonsleeveweakatknees

    (@heartonsleeveweakatknees)

    Thank you so much! It’s so obvious now I see it ?? I couldn’t seem to work out which .php file it would be in.

    Many thanks for your help.

    Theme Author James Laws

    (@jameslaws)

    You are very welcome. I hope you enjoy the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Theme: Distinction] Removing the link to the previous post’ is closed to new replies.