';
the_title( '', '
' );
?>
';
$args = apply_filters( 'bttk_related_portfolio_args', array(
'post_type' => 'blossom-portfolio',
'posts_status' => 'publish',
'posts_per_page' => 3,
'post__not_in' => array( get_the_ID() ),
'orderby' => 'rand'
) );
$related_title = apply_filters( 'bttk_related_portfolio_title', __( 'Related Projects', 'blossom-pin' ) );
$qry = new WP_Query( $args );
if( $qry->have_posts() ){ ?>
' . esc_html( $related_title ) . '
'; ?>
have_posts() ){
$qry->the_post();
$related_image_size = apply_filters( 'bttk_related_portfolio_image', 'medium' );
if( has_post_thumbnail() ){ ?>
' . $term_list . '
';
the_title( '
' );
?>