function x_portfolio_item_featured_content() { if (x_get_option('x_portfolio_enable_cropped_thumbs', '') == '1') { x_featured_portfolio('cropped'); } else { x_featured_portfolio(); } }
</div> <?php } ?> <div class="entry-wrap cf"> <?php if (is_singular()) { ?> <div class="entry-info"> <div class="entry-featured"> <?php x_featured_portfolio('cropped'); ?> </div> <header class="entry-header"> <h1 class="entry-title entry-title-portfolio"><?php the_title(); ?> </h1> <?php x_renew_entry_meta(); ?> </header> <?php x_get_view('global', '_content', 'the-content'); ?> </div>
function x_portfolio_item_featured_content() { $cropped_thumbs = get_theme_mod('x_portfolio_enable_cropped_thumbs'); if ($cropped_thumbs == 1) { x_featured_portfolio('cropped'); } else { x_featured_portfolio(); } }