• 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

Single post nav stopped working on Minimum

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 › Design Tips and Tricks › Single post nav stopped working on Minimum

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 10 years ago by nutsandbolts.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 9, 2013 at 9:04 am #10680
    nutsandbolts
    Member

    Hi guys,

    So I switched from Focus to Minimum and just noticed that my single post navigation no longer displays. This is the code in my functions.php:

    function custom_post_navigation()
    {
    ?>
    <div class="prev_next">
    <div class="nav_left">
    <span class="prev">Previous Post</span> <?php previous_post_link('%link', '%title'); ?>
    </div class="nav_right">
    <div>
    <span class="next">Next Post</span> <?php next_post_link('%link', '%title'); ?>
    </div>
    </div>
    <?php
    }

    add_action('genesis_after_comments', 'custom_post_navigation');

    And here's the CSS I used:

    .prev_next
    {
    overflow: auto;
    margin: 10px 0;
    padding: 5px 0;
    }
    .prev_next span.next
    {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    margin-bottom: 5px;
    }
    .prev_next span.prev
    {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    margin-bottom: 5px;
    }
    .prev_next a
    {
    text-decoration: none;
    }
    .prev_next a:hover
    {
    text-decoration: underline;
    }
    .nav_left
    {
    width: 50%;
    float: left;
    }
    .nav_right
    {
    width: 50%;
    float: right;
    text-align: right;
    }

    This has always worked perfectly on any child theme I've used, so I'm a little lost as to why it's not showing the navigation on Minimum. Would appreciate any thoughts. The URL is http://www.sooverthis.com


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 26, 2013 at 4:52 pm #15156
    SoZo
    Member

    You could use this plugin


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 26, 2013 at 6:08 pm #15207
    nutsandbolts
    Member

    Yeah, I tried that as a last resort. It isn't working either. It's the weirdest thing I've ever seen. For now I've just given up having single post navigation until I can figure out what's causing the problem.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Single post nav stopped working on Minimum’ is closed to new 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