*/ $include_pinterest_pinit = get_theme_mod( 'canuck_include_pinit' ) ? true : false; $add_nopin = ( true === $include_pinterest_pinit ) ? 'data-pin-no-hover="true" ' : ''; $content = get_the_content(); $embed = canuck_extract_embed( $content ); if ( false !== $embed ) { $quote_data = explode( '|' , $embed ); } $post_style = esc_html( get_theme_mod( 'canuck_blog_style', 'top_feature' ) ); if ( has_post_thumbnail() && false !== $embed ) { $background_image_url = the_post_thumbnail_url( 'canuck_med15' ); } elseif ( false !== $embed ) { $background_image_url = get_template_directory_uri() . '/images/quote800.jpg'; } else { $background_image_url = get_template_directory_uri() . '/images/noquote.jpg'; echo '
'; echo '' . esc_attr__( 'quote background', 'canuck' ) . ''; echo '
'; } if ( false !== $embed ) { ?>
src="" alt="">
' . wp_kses_post( $quote_data[0] ); if ( isset( $quote_data[2] ) ) { if ( isset( $quote_data[1] ) ) { $quote_author = '' . esc_html( $quote_data[1] ) . ''; } } elseif ( isset( $quote_data[1] ) ) { $quote_author = esc_html( $quote_data[1] ); } else { $quote_author = ''; } if ( '' !== $quote_author ) { echo '' . wp_kses_post( $quote_author ) . ''; } ?>