• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Next/Previous Post Buttons Stopped Working

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Next/Previous Post Buttons Stopped Working

This topic is: not resolved

Tagged: Genesis Simple Sidebars, sidebars, WordPress navigation

  • This topic has 2 replies, 2 voices, and was last updated 8 years ago by paulag01.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 26, 2015 at 11:26 am #142397
    paulag01
    Member

    Hi there,

    A ways back I solved my sidebars problem at this post:

    Choosing different sidebar for home page (latest posts)

    What I just realized though - is that the Home Page no longer has the "previous" and "next" buttons working. They work on the "blog" page but not the home page.

    Is there a way I can fix this given the bit odd setup we have here?

    Thanks in advance.

    http://http://socialmediajustforwriters.com
    February 28, 2015 at 7:48 am #142649
    Victor Font
    Moderator

    The link to your site above doesn't work. It adds http://www.http to the beginning of your url.

    Despite the error above, I still got to your page and the issue seems to be related to your permalinks. In the home page, the next page link is http://socialmediajustforwriters.com/page/2/. On the blog page, the next page link is http://socialmediajustforwriters.com/blog/page/2/. The home page link is broken because it is missing the /blog/ slug. Resave your permalinks and make sure that the /blog/ (category?) is added to the permalinks.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 2, 2015 at 7:56 am #142826
    paulag01
    Member

    I think the reason it is missing the "blog" slug is because the home page is - Home (which uses the Blog Template to show the latest posts)

    And the latest posts - is the "Blog" page, also using blog template.

    I believe the problem lies in the fact that there are essentially 2 blog "latest posts" pages and the one is an offshoot of home (root), the other from the blog (thus why the /blog IS where the posts live).

    So is there some code I can put in for the previous/next links in functions.php or somewhere that will test if it is the home page, then do this with the previous/next links so the /blog part appears?

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble