footer.php (933B)
1 <?php 2 /** 3 * The template for displaying the footer 4 * 5 * Contains the closing of the #content div and all content after. 6 * 7 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials 8 * 9 * @package appside 10 */ 11 $page_container_meta = Appside_Group_Fields_Value::page_container( 'appside', 'header_options' ); 12 $footer_variant = !empty($page_container_meta['footer_build_type']) ? $page_container_meta['footer_build_type'] : 'default'; 13 $footer_variant = ($page_container_meta['footer_build_type'] == 'footer_builder' && !empty($page_container_meta['footer_builder_style']) ) ? 'builder' : $footer_variant; 14 if($footer_variant == 'default' && cs_get_option('global_footer_build_type') == 'footer_builder'){ 15 $footer_variant = 'builder'; 16 } 17 ?> 18 </div><!-- #content --> 19 20 <?php get_template_part('template-parts/footer/footer',$footer_variant); ?> 21 22 </div><!-- #page --> 23 24 <?php wp_footer(); ?> 25 26 </body> 27 </html>