芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/public_html/wp-content/themes/pixelpiernyc/vamtam/helpers/template.php
html,#main-content{{$page_style}}"; // xss ok, escaped above } } add_action( 'wp_head', 'vamtam_theme_background_styles' ); function vamtam_body_classes( $body_class ) { global $post; $has_page_header = VamtamTemplates::has_page_header() && ! is_404(); $has_middle_header = ''; $is_responsive = VamtamFramework::get( 'is_responsive' ); $body_class[] = 'full'; $body_class[] = 'header-layout-logo-menu'; $page_scroll = VamtamTemplates::get_page_scroll_direction(); $body_class_conditions = array( 'no-page-header' => ! $has_page_header, 'has-page-header' => $has_page_header, 'no-middle-header' => ! $has_middle_header, 'has-middle-header' => $has_middle_header, 'responsive-layout' => $is_responsive, 'fixed-layout' => ! $is_responsive, 'has-post-thumbnail' => is_singular() && has_post_thumbnail(), 'single-post-one-column' => is_single(), 'has-blocks' => ! is_archive() && is_callable( 'has_blocks' ) && has_blocks() && ( ! class_exists( 'FLBuilderModel' ) || ! FLBuilderModel::is_builder_enabled() ), 'vamtam-limited-layout' => ! vamtam_extra_features(), 'vamtam-is-elementor' => VamtamElementorBridge::is_build_with_elementor(), 'elementor-active' => VamtamElementorBridge::is_elementor_active(), 'elementor-pro-active' => VamtamElementorBridge::is_elementor_pro_active(), 'vamtam-wc-cart-empty' => ! vamtam_has_woocommerce() || WC()->cart->get_cart_contents_count() === 0, 'wc-product-gallery-zoom-active' => current_theme_supports( 'wc-product-gallery-zoom' ), 'wc-product-gallery-lightbox-active' => current_theme_supports( 'wc-product-gallery-lightbox' ), 'wc-product-gallery-slider-active' => current_theme_supports( 'wc-product-gallery-slider' ), 'vamtam-is-wishlist' => defined( 'WOOSW_VERSION' ) && is_page() && $post->ID == get_option( 'woosw_page_id' ), 'vamtam-font-smoothing' => vamtam_extra_features() && \Vamtam_Elementor_Utils::get_general_theme_site_setting( 'font_smoothing' ), ); foreach ( $body_class_conditions as $class => $cond ) { if ( $cond ) { $body_class[] = $class; } } if ( $page_scroll === 'horizontal' ) { $body_class[] = 'vamtam-page-scroll-' . $page_scroll; } $body_class[] = 'layout-' . VamtamTemplates::get_layout(); return $body_class; } add_filter( 'body_class', 'vamtam_body_classes' );