• 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

Tips for Woocommerce products page?

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 › Tips for Woocommerce products page?

This topic is: not resolved

Tagged: next/previous arrows, product page, WooCommerce

  • This topic has 5 replies, 3 voices, and was last updated 9 years, 10 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 29, 2016 at 6:09 pm #177874
    sparkgaia
    Member

    Hi there community

    Thought I'd bring this here to see if anyone can help - I've been searching online for a really long time and still can't find an up to date plugin or solution that looks adequate.

    Its a woocommerce product page question: My client wants visitors to easily click to the next product in the product category from the individual product page (woocommerce).

    This is the best plugin I could find, but it doesn't look like its supported anymore: http://codecanyon.net/item/awesome-post-navigator/5208767

    Can anyone help?

    Thanks!
    Cara

    January 29, 2016 at 6:20 pm #177876
    Brad Dalton
    Participant

    I have a free solution which you'll need to install yourself http://wpsites.net/web-design/previous-next-single-post-navigation-links-wordpress/

    And premium code, installation supported.


    Tutorials for StudioPress Themes.

    January 30, 2016 at 8:49 am #177906
    Genesis Developer
    Member

    Just add this snippet in your functions.php file

    add_action( 'genesis_after_loop', 'wc_prev_next_post_nav', 5 );
    function wc_prev_next_post_nav() {
    
      if ( ! is_singular( 'product' ) )
        return;
    
      genesis_markup( array(
      	'html5'   => '<div %s>',
      	'xhtml'   => '<div class="navigation">',
      	'context' => 'adjacent-entry-pagination',
      ) );
    
      echo '<div class="pagination-previous alignleft">';
        previous_post_link('<span class="fa fa-angle-left fa-1x"></span> <span class="prev-text">'. __( 'Previous Product', 'woocommerce' ) . '</span><br/>%link'); 
      echo '</div>';
    
      echo '<div class="pagination-next alignright">';
        next_post_link( '<span class="next-text">' . __('Next Product', 'woocommerce') . '</span> <span class="fa fa-angle-right fa-1x"></span><br/>%link'); 
      echo '</div>';
    
      echo '</div>';
      
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    January 31, 2016 at 2:35 pm #177980
    sparkgaia
    Member

    Hi Genesis Developer, thank you! I added this code to functions.php (i'm using the swank theme).
    unfortunately it didn't seem to change anything on the individual product page...
    Any other ideas?

    Cheers,
    Cara

    January 31, 2016 at 2:35 pm #177981
    sparkgaia
    Member

    Thanks braddalton - what is the cost of the premium code?

    Cheers,
    Cara

    January 31, 2016 at 4:43 pm #177987
    Brad Dalton
    Participant

    $49.99 for access to all code which also includes installation support for all code snippets http://wpsites.net/best-plugins/add-next-previous-product-navigation-links-to-woocommerce-single-products/

    Here's what you get:

    1. Unlimited access to all the best code & tutorials, everything!
    2. Code you can simply copy & paste
    3. Installation support
    4. Private support form where you can use ask questions & get answers
    5. Guarantee all code works

    Use this link if you want to sign up http://wpsites.net/register/


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ 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