• Closed
  • Sarah Cole
    Spectator
    04.01.2016 at 21:57 #23356

    Hi,

    I was wondering if there’s any way to sort portfolio pages by a method other than date? By title or randomly, for example.

    My portfolio is also a bit hotchpotch as the featured images are all different dimensions. This means the row heights are variable and the title text isn’t always visible on mouseover where the image is thin. Any suggestions to fix this (other than manually modifying all the featured images to be the same dimensions with white space) would be much appreciated.

    The site isn’t live at the moment, but there’s a screenshot here: http://picpaste.com/d81770e095de1460cc90ffea81ce71b5.png
    (obscured title text on left side.)

    Thanks.

    Denzel Chia
    Moderator
    Posts: 2656
    05.01.2016 at 09:45 #23366

    Hi,

    The following is the images sizes used in the Theme.

    add_theme_support('automatic-feed-links');
    add_theme_support('post-thumbnails');
    add_theme_support('title-tag');
    add_image_size('post-thumbnail', 680, 330, true);
    add_image_size('slider-thumbnail', 400, 280, true);
    add_image_size('tabs-img', 50, 50, true);
    add_image_size('recent-works-thumbnail', 65, 65, true);
    add_image_size('blog-large', 669, 272, true);
    add_image_size('blog-medium', 320, 202, true);
    add_image_size('related-img', 180, 138, true);
    add_image_size('portfolio-one', 540, 272, true);
    add_image_size('portfolio-two', 460, 295, true);
    add_image_size('portfolio-three', 300, 214, true);
    add_image_size('portfolio-four', 220, 161, true);
    add_image_size('portfolio-full', 940, 400, true);
    add_image_size('recent-posts', 660, 405, true);

    Notice the last variable is true for all portfolio images.
    This means all images are cropped.
    All you need is to upload an image larger than 660 x 405

    As for the portfolio loop, the query is in it’s own portfolio template.
    For example portfolio-four-column.php

    $args = array(
    'post_type' => 'evolve_portfolio',
    'paged' => $paged,
    'posts_per_page' => $evl_portfolio_no_item_per_page,
    );

    You can add any available arguments to it.

    Please try them out, we do not provide customization support, other than custom css.

    Thank you.