Adding multiple portfolios to Minimum Pro & portfolio image question

Community Forums Forums Design Tips and Tricks Adding multiple portfolios to Minimum Pro & portfolio image question

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  braddalton 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #65697

    sssv
    Participant
    Post count: 20

    I’m using Minimum Pro to build an artist’s portfolio site. I’m wondering if anyone has had any success adding more than 1 portfolio to a site using this theme? I’d like to build the main portfolio page like the demo with all works and then portfolio pages that show collections of works?

    Support suggested adding custom taxonomies and asking this question here. I don’t have much experience in this area. Any guidance would be very much appreciated!

    For the portfolios, I’m also having trouble with the thumbnail sizes. I’ve regenerated thumbnails twice and am now in the process of building custom images in PhotoShop to achieve the look I want but maybe I need to change the thumbs in Media Settings instead? The demo has 540×340 portfolio images but my current settings are as follows:

    > thumbnails: 150×150
    > medium: 300 x 300
    > large: 1024 x 1024

    Any tips? I’ve looked all over for info on the correct image sizes for Minimum Pro to no avail.

    Thanks!


    Sara @ wirebird media – WordPress and Genesis web developer

    http://local
    #65779

    braddalton
    Participant
    Post count: 10217

    Done this and its very easy. Simply copy all the PHP and use the same classes however make sure the CPT is unique.

    Or you can follow this tutorial http://wpsites.net/web-design/add-responsive-portfolio-page-to-lifestyle-pro/

    Then you can also add support or your new sizes to your child themes functions.php file:
    [php]
    //* Add new image sizes
    add_image_size( ‘portfolio’, 540, 340, TRUE );
    [/php]

    I would make sure the images are exactly the right size or thye perfect aspect ratio so they look the best.


    #65886

    sssv
    Participant
    Post count: 20

    Brad – Thank you for the response! I need to break it down a bit further to be sure I understand what you mean….

    So I’d copy the code from my existing archive-portfolio.php into a new Custom Post Type called, for instance, botanical-portfolio.php and portrait-portfolio.php? Would I need to adjust functions.php to register or call for the new Post Types in the code below? I’d keep all the images the same size – 540, 340.

    //* Create portfolio custom post type
    add_action( ‘init’, ‘minimum_portfolio_post_type’ );
    function minimum_portfolio_post_type() {

    register_post_type( ‘portfolio’,
    array(
    ‘labels’ => array(
    ‘name’ => __( ‘Portfolio’, ‘minimum’ ),
    ‘singular_name’ => __( ‘Portfolio’, ‘minimum’ ),
    ),
    ‘exclude_from_search’ => true,
    ‘has_archive’ => true,
    ‘hierarchical’ => true,
    ‘menu_icon’ => get_stylesheet_directory_uri() . ‘/images/icons/portfolio.png’,
    ‘public’ => true,
    ‘rewrite’ => array( ‘slug’ => ‘portfolio’ ),
    ‘supports’ => array( ‘title’, ‘editor’, ‘author’, ‘thumbnail’, ‘excerpt’, ‘trackbacks’, ‘custom-fields’, ‘comments’, ‘revisions’, ‘page-attributes’, ‘genesis-seo’ ),
    )
    );

    }

    Thank you for the help!


    Sara @ wirebird media – WordPress and Genesis web developer

    #65899

    braddalton
    Participant
    Post count: 10217

    Already written about adding a portfolio to at least 8 different themes and the process is pretty much the same.

    I would follow the tutorial that i linked to above as that’s what i use when i need to add another portfolio or duplicate them in any theme.

    As long as the names, slugs, i’d’s, file names and functions are unique you shouldn’t have any problems.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.