*/ // Get options. $section1_usage = esc_html( stripslashes( get_theme_mod( 'canuck_section1_usage', 'normal' ) ) ); $section1_text = stripslashes( get_theme_mod( 'canuck_section1_text', '' ) ); $section1_shortcode = stripslashes( get_theme_mod( 'canuck_section1_shortcode', '' ) ); $section1_include_link = get_theme_mod( 'canuck_include_section1_button', false ); $section1_link = get_theme_mod( 'canuck_section1_button_link', '#' ); $section1_button_icon = get_theme_mod( 'canuck_section1_button_icon', 'no icon' ); $section1_button_label = stripslashes( get_theme_mod( 'canuck_section1_button_name', esc_html__( 'more', 'canuck' ) ) ); $sec1_bg_image = get_theme_mod( 'canuck_section1_background_image', '' ); $sec1_use_parallax = get_theme_mod( 'canuck_section1_use_parallax', false ); $use_lazyload = get_theme_mod( 'canuck_use_lazyload' ) ? true : false; if ( '' !== $sec1_bg_image ) { if ( true === $sec1_use_parallax ) { $string1 = ' class="home-1-wide parallax-window" data-parallax="scroll" data-image-src="' . esc_url( $sec1_bg_image ) . '" data-speed="0.3" data-bleed="0" style="background: transparent;"'; } elseif ( true === $use_lazyload ) { $string1 = ' class="home-1-wide lazyload" data-src="' . esc_url( $sec1_bg_image ) . '"'; } else { $string1 = ' class="home-1-wide" style="background-image: url( ' . esc_url( $sec1_bg_image ) . ' );"'; } } else { $string1 = ' class="home-1-wide"'; } ?>
>

Widgets or the Customizer Widgets panel and add a widget to Home Page Section 1.', 'canuck' ); ?>