Checkout

get_queried_object_id() : (isset($post->ID) && $post->ID>0 ? $post->ID : ''); if( class_exists( 'WooCommerce' ) && autozone_is_woo_page() && autozone_get_option('woo_header_global','1') ){ $post_ID = get_option( 'woocommerce_shop_page_id' ) ? get_option( 'woocommerce_shop_page_id' ) : $post_ID; } $autozone_header = apply_filters('autozone_header_settings', $post_ID); $footerStaticBlockID = false; if (isset($GLOBALS['autozone_footer_type_page']) && $GLOBALS['autozone_footer_type_page']){ $pix_footer_type_page = $GLOBALS['autozone_footer_type_page']; if (is_array($pix_footer_type_page)){ foreach($pix_footer_type_page as $key=>$pftp){ if ($pftp == 'global') unset($pix_footer_type_page[$key]); } } $footerStaticBlockID = $pix_footer_type_page; } $footerStaticBlockGlobalID = autozone_get_option('footer_block'); if( is_singular('pixad-autos') && function_exists('icl_object_id') ){ $Settings = new PIXAD_Settings(); $options = $Settings->getSettings( 'WP_OPTIONS', '_pixad_autos_settings', true ); $auto_listing_page = isset($options['autos_listing_car_page']) ? $options['autos_listing_car_page'] : false; if ( defined( 'ICL_LANGUAGE_CODE' ) ) { $lang_post_id = icl_object_id( $auto_listing_page, 'page', true, ICL_LANGUAGE_CODE ); $footerStaticBlockID = get_post_meta($lang_post_id, 'pix_page_footer_staticblock', true); } } $bottomBlock = html_entity_decode(autozone_get_option('footer_settings_copyright', esc_html__('Copyright 2018. Design by Templines', 'autozone') )); $footer_logo = autozone_get_option('footer_logo',''); $autozone_decor_class = autozone_get_option('footer_decor', '1') ? 'border-section-top border-section-top_mod-b' : ''; ?>
loading