WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Imbalance theme next page (7 posts)

  1. anniedemer
    Member
    Posted 1 year ago #

    Hi everyone, thanks for looking at my post.

    I am running a self hosted site with the WPShower Imbalance theme, and I would really like to have 'previous' and 'next' links between my posts.

    I have looked everywhere I can think of and have Googled the problem countless times, but have drawn a blank. The Imbalance theme does not have the new 'Loop.php' in the Stylesheet, so I am really struggling to know which part of the CSS to add to or adjust.

    Would anyone be able to help? I know that the Imbalance 2 theme provides this feature already, but it's the Imbalance theme that I really want to use.

    Thank you in advance for any help or advice!
    Annie

    http://www.bluntcrayon.com

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    interestingly, the theme's demo http://wpshower.com/demo/?theme=imbalance has the pagination links at the bottom left;

    your site does not have enough posts to check the pagination, but there is the number 1 at the bottom left in the the same location as in the theme's demo.

  3. anniedemer
    Member
    Posted 1 year ago #

    Hi alchymyth, thanks for responding!

    I think that I might not have been clear (sorry) - I have the pagination numbers in place (I have a few posts set to private just to test that out), but I would like 'Previous Post' and 'Next Post' to appear on each individual post.

    On the demo itself, if you click any of the posts you can see that they don't have the option to link to the previous or next posts, but there are posts on the right hand side. Ideally, I would like to have 'Previous' and 'Next' links somewhere under the discreet 'Published by' heading on the left of the post.

    Thank you anyway though!

    Annie

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    possibly add the next_post_link() and previous_post_link() codes after the <?php endwhile; ?> in single.php

    http://codex.wordpress.org/Function_Reference/next_post_link
    http://codex.wordpress.org/Function_Reference/previous_post_link

    example:

    <div class="nextpost"><?php previous_post_link(); ?></div> <div class="previouspost"><?php next_post_link(); ?></div>

  5. anniedemer
    Member
    Posted 1 year ago #

    Thanks again alchymyth - I tried posting it directly beneath where you said, but unfortunately it didn't make any changes. Thank you for helping though, I really appreciate it!

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    'private' posts will not show with those codes.

  7. anniedemer
    Member
    Posted 1 year ago #

    Oh my goodness, that actually worked! I can't thank you enough, honestly the HOURS I spent trying to work that out!

    Thank you alchymyth, I'll mark this as 'resolved' and hopefully it will help other people too!

Topic Closed

This topic has been closed to new replies.

About this Topic