.porto-360-gallery-images-wrap{position:relative;padding:2rem;display:flex;margin-left:auto;margin-right:auto;align-items:center;justify-content:center;background:#fff;box-shadow:5px 5px 20px rgba(0,0,0,0.1);cursor:pointer}.porto-360-gallery-images-wrap .porto-360-gallery-images{list-style:none;padding:0;margin:0}.porto-360-gallery-images-wrap img{position:absolute;left:0;top:0;visibility:hidden;max-height:400px}.porto-360-gallery-images-wrap .current-image{position:static;visibility:visible}.porto-360-gallery-images-wrap li{max-height:100%}.porto-360-gallery-images-wrap svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100px;height:100px;margin:auto!important;background-color:rgba(255,255,255,0.8);border-radius:50%;box-shadow:rgba(0,0,0,0.5) 0px 0px 10px 0px;transition:0.5s all;color:rgb(80,80,80);text-align:center;line-height:100px;z-index:2;transition:box-shadow 0.3s}.porto-360-gallery-images-wrap:hover svg{box-shadow:rgba(0,0,0,0.7) 0px 0px 15px 0px}<?php
add_action( 'wp_enqueue_scripts', 'porto_child_css', 1001 );
// Load CSS
function porto_child_css() {
// porto child theme styles
wp_deregister_style( 'styles-child' );
wp_register_style( 'styles-child', esc_url(//champion-td.ru/wp-content/themes/champion-td-child/get_stylesheet_directory_uri() ) . '/style.css' );
wp_enqueue_style( 'styles-child' );
if ( is_rtl() ) {
wp_deregister_style( 'styles-child-rtl' );
wp_register_style( 'styles-child-rtl', esc_url(//champion-td.ru/wp-content/themes/champion-td-child/get_stylesheet_directory_uri() ) . '/style_rtl.css' );
wp_enqueue_style( 'styles-child-rtl' );
}
}
// Включение поддержки html-тегов в описании категорий в Woocommerce
foreach ( array( 'pre_term_description' ) as $filter ) {
remove_filter( $filter, 'wp_filter_kses' );
}
foreach ( array( 'term_description' ) as $filter ) {
remove_filter( $filter, 'wp_kses_data' );
} add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['reviews'] ); 			// Remove the reviews tab
unset( $tabs['additional_information'] );  	// Remove the additional information tab
unset( $tabs['seller'] );
unset( $tabs['product'] );
return $tabs;
}
function wpai_is_xml_preprocess_enabled( $is_enabled ) {
return false;
}
add_filter( 'is_xml_preprocess_enabled', 'wpai_is_xml_preprocess_enabled', 10, 1 );