• 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

Need to Hide PREVIOUS and NEXT links on Page for Postings

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 › Need to Hide PREVIOUS and NEXT links on Page for Postings

This topic is: resolved

Tagged: genesis_prev_next_post_nav, post navigation

  • This topic has 5 replies, 2 voices, and was last updated 7 years, 12 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 10, 2017 at 6:38 am #208897
    RTNM
    Member

    I have set up a way for my non-tech client to create a new post on the front end, and when he creates a post it successfully gets displayed automatically on a page that I have designated to show Posts. However, I do not want viewers to see previous posts, so how can I hide the PREVIOUS and NEXT logic (right now I have to manually delete the previous post to hide these links)

    The reason I want to do this is because he periodically wants to announce his seafood specials. Obviously we do not want to show archived specials and I do not want to give him access to the WP Dashboard.

    https://goldenseafoodinc.com/specials/
    July 10, 2017 at 3:17 pm #208925
    Brad Dalton
    Participant

    You can remove the pagination using remove_action.

    Here's the code to add the pagination for single posts

    You can use remove_action to remove it conditionally or add the code to a template file however it depends on how you added the pagination.


    Tutorials for StudioPress Themes.

    July 11, 2017 at 8:03 am #208963
    RTNM
    Member

    Thanks for the response, but it did not work for me. However, I just figured it out. The Daily Dish Pro theme has Pagination defined in the sytle.css, so I changed the display to "none":

    .archive-pagination li a {
    background-color: #000;
    color: #fff;
    cursor: pointer;
    display: none; /* DRM inline-block; */

    July 11, 2017 at 3:31 pm #209001
    Brad Dalton
    Participant

    Hi

    How did you add the pagination for single posts?


    Tutorials for StudioPress Themes.

    July 11, 2017 at 6:07 pm #209005
    RTNM
    Member

    I did not add anything for pagination for single posts. Just needed to make the CSS change shown above.

    July 11, 2017 at 6:09 pm #209006
    Brad Dalton
    Participant

    The code for single post navigation must already be included in your child themes functions file.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2025 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