*/ $canuck_showfooter = get_theme_mod( 'canuck_show_footer', true ); $canuck_showcopyright = get_theme_mod( 'canuck_show_copyright_strip', true ); $canuck_footercols = intval( get_theme_mod( 'canuck_footer_cols', 3 ) ); $canuck_show_footer_top_strip = get_theme_mod( 'canuck_show_footer_top_strip', false ); $canuck_footer_background_image = get_theme_mod( 'canuck_footer_background_image', '' ); $canuck_use_lazyload = get_theme_mod( 'canuck_use_lazyload' ) ? true : false; if ( '' !== $canuck_footer_background_image ) { if ( true === $canuck_use_lazyload ) { $footerstring = ' id="canuck-footer" class="lazyload" data-src="' . esc_url( $canuck_footer_background_image ) . '"'; } else { $footerstring = ' id="canuck-footer" style="background-image: url( ' . esc_url( $canuck_footer_background_image ) . ' );"'; } } else { $footerstring = ' id="canuck-footer"'; } if ( true === $canuck_showfooter || true === $canuck_showcopyright || true === $canuck_show_footer_top_strip ) { ?>