' . $title . '';
}
if ( ! empty( $teaser ) ) {
$teaser = wpautop( $teaser );
}
if ( empty( $button ) ) {
$button = 'Read More';
}
if ( $target == 'new' ) {
$target = ' target="_blank"';
}
echo '
';
echo '
';
echo '
';
echo '
';
echo $title;
echo '
';
echo '
';
echo $teaser;
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
echo '
';
//====================================================================
// Output custom styling if set
//====================================================================
if ( $color_custom == 'on' and (
! empty( $color_title ) or
! empty( $color_teaser ) or
! empty( $color_button_text ) or
! empty( $color_button_text_hover ) or
! empty( $color_button_bg ) or
! empty( $color_button_bg_hover )
) ) {
echo '';
}