*/ // Get the options. $section11_usage = stripslashes( get_theme_mod( 'canuck_section11_media_area_usage', 'image' ) ); $section11_image = get_theme_mod( 'canuck_section11_image', '' ); $section11_title = stripslashes( get_theme_mod( 'canuck_section11_title', '' ) ); $section11_shortcode = stripslashes( get_theme_mod( 'canuck_section11_shortcode', '' ) ); $section11_text = stripslashes( get_theme_mod( 'canuck_section11_text', '' ) ); $section11_include_link = get_theme_mod( 'canuck_section11_include_link', false ); $section11_button_link = get_theme_mod( 'canuck_section11_button_link', '#' ); $section11_button_label = get_theme_mod( 'canuck_section11_button_title', " " . __( 'more', 'canuck' ) ); $sec11_bg_image = get_theme_mod( 'canuck_section11_background_image', '' ); $sec11_use_parallax = get_theme_mod( 'canuck_section11_use_parallax', false ); $use_lazyload = get_theme_mod( 'canuck_use_lazyload' ) ? true : false; if ( '' !== $sec11_bg_image ) { if ( true === $sec11_use_parallax ) { $string11 = ' class="home-11-wide parallax-window" data-parallax="scroll" data-image-src="' . esc_url( $sec11_bg_image ) . '" data-speed="0.3" data-bleed="20" style="background: transparent;"'; $string11a = ' style="margin: 20px 0 -20px 0;"'; } elseif ( true === $use_lazyload ) { $string11 = ' class="home-11-wide lazyload" data-src="' . esc_url( $sec11_bg_image ) . '"'; $string11a = ''; } else { $string11 = ' class="home-11-wide" style="background-image: url( ' . esc_url( $sec11_bg_image ) . ' );"'; $string11a = ''; } } else { $string11 = ' class="home-11-wide"'; $string11a = ''; } ?>
>
>
' . esc_html__( 'Go to Appearance->Widgets or the Customizer Widgets panel and add a widget to Home Page Section 11.', 'canuck' ) . ''; } ?>
<?php echo esc_attr( $section11_title ); ?> <?php esc_attr( $section11_title ); ?>

" . __( 'more', 'canuck' ); } ?>