????
| Current Path : /home2/morganrand/www/wp-content/themes/wanderfuls/partials/portfolio/ |
| Current File : /home2/morganrand/www/wp-content/themes/wanderfuls/partials/portfolio/portfolio-entry-content.php |
<?php
/**
* Portfolio entry content template part
*
* @package Wanderfuls WordPress theme
* @subpackage Partials
* @version 3.0.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Return if disabled for standard entries
if ( ! is_singular( 'portfolio' ) && ! tb_get_mod( 'portfolio_entry_details', true ) ) {
return;
}
// Return if disabled for related entries
if ( is_singular( 'portfolio' ) && ! tb_get_mod( 'portfolio_related_excerpts', true ) ) {
return;
}
// Entry content classes
$classes = 'portfolio-entry-details clr';
if ( tb_portfolio_match_height() ) {
$classes .= ' match-height-content';
} ?>
<div class="<?php echo $classes; ?>">
<?php get_template_part( 'partials/portfolio/portfolio-entry-title' ); ?>
<?php get_template_part( 'partials/portfolio/portfolio-entry-excerpt' ); ?>
</div><!-- .portfolio-entry-details -->