Ready to get started?Download WordPress


[resolved] Adding previous_posts_link to bottom of first gallery page (6 posts)

  1. blksheep
    Posted 2 years ago #

    Hello -

    I'm unsuccessfully trying to simply add the next_posts_link and previous_posts_link to the bottom of the first category pages. Using the Minimalism theme, when you access a category page the "Older Entries" link is placed at the top, which is a terrible functionality choice, because when you scroll down to the end of the page's posts, you have to scroll back up just to go previous posts. Ideally, I'd like the navigation links right there where you end.

    I can't seem to figure out why the links aren't showing outside of the php loop code. This is the archive page:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    I appreciate any tips whatsoever -

  2. varunms
    Posted 2 years ago #


    Kindly Install This Plug-in
    I Till Work

  3. blksheep
    Posted 2 years ago #

    Hope this works with the code paste...

    <script src="http://pastebin.com/embed_js.php?i=JHujWGBH"></script>

    Thanks for the plug-in spam there, but that does nothing for what I'm trying to do, which is simply have the navigation links on the bottom of the first category page, as opposed to the top.

  4. blksheep
    Posted 2 years ago #

    oh well, here's my pastebin link - I've never used this in my life.


  5. blksheep
    Posted 2 years ago #

    cheers, sorted it out. Its working outside of the php code loop on the page now, and I literally have no idea why its working now and hadn't before.

  6. varunms
    Posted 2 years ago #


    If The Problem Is Resolved Kindly Mark This Post As Resolved

    Thank You

    For More Tips And Tricks
    Follow My Blog

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.