', esc_url( get_permalink() ) ), '' );
echo apply_filters( 'the_content', wp_trim_words( get_the_content(), 15, '...' ) );
if(!empty( $button_text ) && ( $is_button == true )){
echo sprintf( '
',
the_title_attribute( 'echo=0' ),
esc_url( get_permalink() ),
esc_html( $button_text ),
esc_attr( $target )
);
}
?>