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
echo apply_filters( | |
'woocommerce_loop_add_to_cart_link', // WPCS: XSS ok. | |
sprintf( | |
'<a rel="nofollow" href="%s" data-quantity="%s" data-product_id="%s" data-product_sku="%s" class="add_to_cart add_to_cart_button %s" %s>%s</a>', | |
esc_url( $product->add_to_cart_url() ), | |
esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ), | |
esc_attr( $product->get_id() ), | |
esc_attr( $product->get_sku() ), | |
esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ), | |
isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '', |
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
.star-rating:before, | |
.wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars:before { | |
content: 'e006e006e006e006e006' !important; | |
} | |
.star-rating span:before, | |
.wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars span:before { | |
content: 'e005e005e005e005e005' !important; | |
} | |
.wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars, | |
.wc-block-components-review-list-item__rating > .wc-block-components-review-list-item__rating__stars span { |
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
jQuery('li.variable-item').removeAttr('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
https://app.crisp.chat/website/37a53881-c4fb-47c5-b2f6-7392ee5020e2/inbox/session_a2ae7fd7-0aae-4b79-8180-c22cd3de94e9/ |
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('wvs_pro_show_archive_variation_template', function($default){ | |
if( is_home() || is_front_page() ){ | |
return false; | |
} | |
return $default; | |
}); |
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
jQuery(document).ready(function( $ ){ | |
// Your code in here | |
jQuery( document ).on( ‘jet-filter-loaded’, function(){ | |
jQuery(‘.variations_form’).each(function(){ | |
jQuery(this).wc_variation_form(); |
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
We’re locked at home because of covid-19, but working to support business. | |
We are apologize if you face any delay to get support response. | |
Stay safe and take care of your family and yourself. |
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 wvs_teepro_theme_support() { | |
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 30 ); | |
remove_action( 'woocommerce_after_shop_loop_item', 'wvs_pro_archive_variation_template', 7 ); | |
add_filter( 'woo_variation_swatches_archive_add_to_cart_select_options', function () { | |
return '<i></i><span class="tooltip">' . __( 'Select options', 'woocommerce' ) . '</span>'; | |
} ); | |
add_filter( 'woo_variation_swatches_archive_add_to_cart_text', function () { |
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
Flatsome Portfolio was designed in that way. They need to modify the core file if they don't want to use it like that. It's on line #228 of the flatsome/inc/post-types/post-type-ux-portfolio.php file. | |
The code | |
return str_replace( '%featured_item_category%', implode( ',', $post_terms ) , $permalink ); | |
Should be changed like this | |
return str_replace( '%featured_item_category%', $post_terms[0] , $permalink ); | |