*/ // Get the options. $section10_usage = stripslashes( get_theme_mod( 'canuck_section10_media_area_usage', 'image' ) ); $section10_image = get_theme_mod( 'canuck_section10_image', '' ); $section10_title = stripslashes( get_theme_mod( 'canuck_section10_title', '' ) ); $section10_shortcode = stripslashes( get_theme_mod( 'canuck_section10_shortcode', '' ) ); $section10_text = stripslashes( get_theme_mod( 'canuck_section10_text', '' ) ); $section10_include_link = get_theme_mod( 'canuck_section10_include_link', false ); $section10_button_link = get_theme_mod( 'canuck_section10_button_link', '#' ); $section10_button_label = get_theme_mod( 'canuck_section10_button_title', " " . __( 'more', 'canuck' ) ); $sec10_bg_image = get_theme_mod( 'canuck_section10_background_image', '' ); $sec10_use_parallax = get_theme_mod( 'canuck_section10_use_parallax', false ); $use_lazyload = get_theme_mod( 'canuck_use_lazyload' ) ? true : false; if ( '' !== $sec10_bg_image ) { if ( true === $sec10_use_parallax ) { $string10 = ' class="home-10-wide parallax-window" data-parallax="scroll" data-image-src="' . esc_url( $sec10_bg_image ) . '"'; } elseif ( true === $use_lazyload ) { $string10 = ' class="home-10-wide lazyload" data-src="' . esc_url( $sec10_bg_image ) . '"'; } else { $string10 = ' class="home-10-wide" style="background-image: url( ' . esc_url( $sec10_bg_image ) . ' );"'; } } else { $string10 = ' class="home-10-wide"'; } ?>
>
' . esc_html__( 'Go to Appearance->Widgets or the Customizer Widgets panel and add a widget to Home Page Section 10.', 'canuck' ) . ''; } ?>
<?php echo esc_attr( $section10_title ); ?> <?php esc_attr( $section10_title ); ?>

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