This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Cargar título de categoría con etiqueta h1. | |
| function mytravel_output_archive_wrapper() { | |
| $sidebar = mytravel_get_archive_sidebar(); | |
| if ( ! class_exists( 'MAS_Travels' ) ) { | |
| if ( is_product() ) { | |
| $full_width_class = ' col-xl-9 mx-auto pb-5 pb-lg-0'; | |
| } else { | |
| $full_width_class = ' col-lg-12 col-xl-12 order-1 order-lg-2 pb-5 pb-lg-0'; | |
| } | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function vodi_footer_top_bar_social() { | |
| if ( has_nav_menu( 'social-media' ) ) : | |
| wp_nav_menu( array( | |
| 'theme_location' => 'social-media', | |
| 'container_class' => 'footer-social-icons 123 social-label', | |
| 'menu_class' => 'social-icons', | |
| 'anchor_class' => 'footer-social-icon', | |
| 'depth' => 1, | |
| 'fallback_cb' => false, | |
| 'walker' => new Vodi_Social_Media_Navwalker(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function mytravel_wc_product_page_title() { | |
| $total = wc_get_loop_prop( 'total' ); | |
| if ( is_shop() || is_product_category() || is_tax( 'product_label' ) || is_tax( get_object_taxonomies( 'product' ) ) ) { | |
| $page_title = woocommerce_page_title( false ); | |
| $title = str_replace( 'product-format-', '', $page_title ); | |
| } else { | |
| $title = get_the_title(); | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .handheld-header-v2 .handheld-header-links>ul li>a::before, | |
| .handheld-header-v2 .handheld-header-links i, | |
| button.navbar-toggler.navbar-toggle-hamburger i { | |
| color: #fff; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function woocommerce_template_loop_product_title() { | |
| echo '<h3 class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . get_the_title() . '</h3>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media (max-width: 767.98px) { | |
| .deal-products-carousel { | |
| margin-bottom: 0; | |
| padding-bottom: 10px; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function mytravel_output_archive_wrapper() { | |
| $sidebar = mytravel_get_archive_sidebar(); | |
| if ( ! class_exists( 'MAS_Travels' ) ) { | |
| if ( is_product() ) { | |
| $full_width_class = ' col-xl-9 mx-auto pb-5 pb-lg-0'; | |
| } else { | |
| $full_width_class = ' col-lg-12 col-xl-12 order-1 order-lg-2 pb-5 pb-lg-0'; | |
| } | |
| } else { | |
| $full_width_class = ' col-lg-12 col-xl-12 order-1 order-lg-2 pb-5 pb-lg-0'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'after_setup_theme', function() { | |
| remove_action( 'cartzilla_footer_after', 'woocommerce_output_all_notices', 100 ); | |
| add_action( 'cartzilla_footer_before', 'woocommerce_output_all_notices', 100 ); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ul.wp-block-navigation__submenu-container.has-text-color.has-secondary-color.has-background.has-white-background-color.wp-block-navigation-submenu > li { | |
| border-radius: 10px; | |
| } | |
| header .wp-block-group.navigation-bar.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained { | |
| position: static; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'get_terms', 'electro_preserve_category_slug_order', 10, 4 ); | |
| function electro_preserve_category_slug_order( $terms, $taxonomies, $args, $term_query ) { | |
| if ( | |
| is_admin() | |
| || empty( $args['include'] ) | |
| || ! in_array( 'product_cat', (array) $taxonomies, true ) | |
| ) { | |
| return $terms; | |
| } |
NewerOlder