• 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

making portfolio page 3 columns

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 › making portfolio page 3 columns

This topic is: not resolved

Tagged: Columns, minimum pro, portfolio

  • This topic has 4 replies, 3 voices, and was last updated 11 years ago by mattersofdesign.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 7, 2014 at 10:25 am #126987
    visinno
    Member

    In the minimum pro theme portfolio page how would I make it 3 columns wide?

    October 7, 2014 at 11:19 am #126994
    Genesis Developer
    Member

    replace the current function in archive-portfolio.php file with following code

    function minimum_even_odd_portfolio_post_class( $classes ) {
    	global $wp_query;
            $classes[] = 'one-third';
    	$classes[] = ($wp_query->current_post % 2 == 0) ? 'portfolio-odd' : 'portfolio-even';
            
             if( 0 == $wp_query->current_post || 0 == $wp_query->current_post % 3 )
                     $classes[] = 'first';
    
    	return $classes;
    }

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

    October 7, 2014 at 1:55 pm #127017
    visinno
    Member

    This is such a stupid question "How do I make the portfolio page show up in the menu?" I made three portfolio pages but can't see how to make them show up on the site.

    Thanks,
    Krina

    October 8, 2014 at 12:00 pm #127127
    visinno
    Member

    The php code above did not work...the portfolio page would not work at all. Is there something missing?

    November 15, 2014 at 10:42 pm #131704
    mattersofdesign
    Member

    I too would like to know how to make the Portfolio landing page three columns. I tried the function code above, but the images did not display in three columns, perhaps because the images were too big for three column display? Thanks for the help!

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