Community Forums › Forums › Archived Forums › Design Tips and Tricks › Tips for Woocommerce products page?
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.
-
AuthorPosts
-
January 29, 2016 at 6:09 pm #177874
sparkgaia
MemberHi 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!
CaraJanuary 29, 2016 at 6:20 pm #177876Brad Dalton
ParticipantI 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.
January 30, 2016 at 8:49 am #177906Genesis Developer
MemberJust 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>'; }
January 31, 2016 at 2:35 pm #177980sparkgaia
MemberHi 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,
CaraJanuary 31, 2016 at 2:35 pm #177981sparkgaia
MemberThanks braddalton - what is the cost of the premium code?
Cheers,
CaraJanuary 31, 2016 at 4:43 pm #177987Brad 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 worksUse this link if you want to sign up http://wpsites.net/register/
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.