• 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

More products on the 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 › More products on the page

This topic is: resolved

Tagged: Products page

  • This topic has 5 replies, 2 voices, and was last updated 8 years, 5 months ago by Ren Ventura.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 4, 2015 at 12:49 pm #136043
    Kilmister
    Member

    I'm using Associate Child Theme and have some problems with my products (using WooCommerce). I have quite a lot of products and want more products row than just one. How can I increase the number of product rows? Have search everywhere, both in Woo-settings and in theme settings.
    Today it looks like this:
    http://www.mediakryss.se/produkt-kategori/generella-korsord/

    Any help would be very appreciated.

    Kind regards
    Svante

    January 4, 2015 at 1:52 pm #136049
    Ren Ventura
    Member

    Try this:

    //* Display 24 products per page (change 24 to your preference)
    add_filter( 'loop_shop_per_page', 'wc_change_products_per_page', 20 );
    function wc_change_products_per_page( $cols ) {
    	return 24;
    }
    

    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    January 4, 2015 at 1:58 pm #136050
    Kilmister
    Member

    Aha! Looks promising. Where do I put the code? In my CSS-file?

    January 4, 2015 at 2:00 pm #136051
    Ren Ventura
    Member

    Since this is PHP code, it goes in your functions.php file.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    January 4, 2015 at 2:10 pm #136052
    Kilmister
    Member

    Yes of course. And guess what - it works!
    Thank you so much for this! I have been googling around the whole day to find this!

    Kind regards
    Svante

    January 4, 2015 at 2:41 pm #136057
    Ren Ventura
    Member

    Glad to hear! 🙂


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

  • 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

© 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