Reply To: How to make a 3 column portfolio template?

Homepage Community Forums Optimal Theme Support How to make a 3 column portfolio template? Reply To: How to make a 3 column portfolio template?

#3305
Corl DeLuna
Customer

    Hi Wes,

    I was hoping to use both 4 and 3 column portfolio page templates.

    My guess from your answer would be to copy the existing page_portfolio.php page template, rename it page_portfolio_3_col.php.

    Give it a new title: // Template Name: Portfolio 3 Col

    In functions.php add a new image size:
    add_image_size( ‘portfolio-thumbnail-3’, 310, 200, TRUE );

    What’s the best way to add my css to preserves it when you update the theme? I like WordPress’s arrangement of keeping the parent and child style.css separate.

    Where would I add the corresponding HTML for a new #content .portfolio-3 and portfolio-thumbnail-3 classes I’d be creating?

    Thanks so much,
    Corl