Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #17938

    I’m using Brightbox for a daily writing blog and now that I have a bunch of posts I just noticed that there is not Previous-Next navigation on the individual post pages.

    Is there something I’ve not turned on in the Brightbox settings or an easy way for you to walk me through the navigation code?

    #97602

    Open up single.php and replace following line with:

    get_template_part( 'includes/loop', 'index' );

    with

    get_template_part( 'includes/loop', 'index' );
    ?> <div class='post_nav'>
    <div class='previous_post_link_align'>
    <?php previous_post_link('<span class="previous_post_link">← %link </span><span class="post_link_text">'.__('(previous entry)')."</span>"); ?>
    </div>
    <div class='next_post_link_align'>
    <?php next_post_link('<span class="next_post_link"><span class="post_link_text">'.__('(next entry)').'</span> %link →</span>'); ?>
    </div>
    </div> <!-- end navigation -->

    <?php

    #97603

    i do not have that code you are talking about

    get_template_part( ‘includes/loop’, ‘index’ );

    #97604

    Hi!

    Mea culpa, I corrected the instructions.

    Regards,

    Peter

    #97605

    i was able to change the code but i do not see the change :(

    take a look at my blog section

    #97606

    Hi!

    Can you post a link please?

    Best regards,

    Peter

    #97607

    oops sorry…

    http://www.lateforworllc.com

    I now see the next and previous links but the layout is not too good.

    #97608

    Hi,

    Website doesnt exist. Please try again. spelling?

    Thanks,

    Nick

    #97609
    #97610

    i added
    </br> to the bottom of the code and it worked

    so the ending looks like this in my single.php

    </br>

    <?php

    #97611

    Glad you found a fix that worked for you :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

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

The topic ‘Previous & Next blog post’ is closed to new replies.