Support » Themes and Templates » Removing next/prev on Imbalance 2 posts

  • robbajob

    (@robbajob)


    Hi.

    I want to remove next/prev from posts from Imbalance 2. I googled, but all I found was advice to remove code from single.php that my single php doesn’t contain. This is all there is in my single.php:

    <?php get_header(); ?>
    		<div id="content">
    		<?php get_template_part( 'loop', 'single' ); ?>
    		</div><!-- #content -->
    <?php get_footer(); ?>

    [Please post code snippets between backticks or use the code button.]

    If it helps, my site is nomorehappyendings.com.

    Any help much appreciated.

    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Forum Moderator

    Try looking in loop-single.php or loop.php.

    robbajob

    (@robbajob)

    Thanks so much for the quick reply. I’m not exactly proficient in php. All the advice I found mention next_link and prev_link, but I can’t find them in loop-single or loop.php

    In loop-single.php there’s:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    robbajob

    (@robbajob)

    Okay, so, I don’t know if this is the correct way to do it, but I just added disable:none; to these lines of code in style.css and all the prev/next elements disappeared.

    #nav-above { float: left; width: 210px; padding-right: 40px; text-align: right; color: #636363; display: none; }
    #nav-above a { text-decoration: none; color: #333; display: none; }
    .nav-previous, .nav-next { display: inline; display: none; }
    .nav-separator { color: #e5e5e5; display: none; }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing next/prev on Imbalance 2 posts’ is closed to new replies.