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
<?php | |
/** | |
* Add Google Tag Manager code for the <head> tag. | |
*/ | |
function custom_add_gtm_code() { | |
?> | |
<!-- Add your GTM code snippet below this line --> | |
<?php |
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
<?php | |
//OBSOLETE | |
//Use Query Results built-in macro instead | |
//add Get properties from query macro | |
add_filter( 'jet-engine/listings/macros-list', 'register_query_items_macro' ); | |
function register_query_items_macro( $macros_list ) { |
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
/*For Elementor Pro User - in Custom CSS tab*/ | |
/*In the custom spinner container widget Custom CSS field */ | |
selector { | |
display:none; | |
} | |
selector i { | |
-webkit-animation: fa-spin 2s infinite linear; | |
animation: fa-spin 2s infinite linear; | |
} |
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
<script> | |
document.addEventListener( 'DOMContentLoaded', function() { | |
const { | |
addAction, | |
} = window.JetPlugins.hooks; | |
const textChoose = 'Choose File'; | |
const textUpload = 'File Uploaded'; |
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
document.addEventListener( 'DOMContentLoaded', function() { | |
const { | |
addAction, | |
} = window.JetPlugins.hooks; | |
const textChoose = 'Choose File'; | |
const textEmpty = 'No file has been chosen'; | |
const textUpload = 'File Uploaded'; | |
function getFileNames( fileList ) { |
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
<?php | |
add_action( 'init', function(){ | |
global $wp_scripts; | |
$script = $wp_scripts->query( 'imagesloaded', 'registered' ); | |
if ( ! $script ) { | |
return; |
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
/* apply to all Listing Grids */ | |
.jet-listing-grid a.jet-engine-listing-overlay-link { | |
z-index: 1; | |
} |
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
<?php | |
add_filter( 'jet-woo-builder/template-functions/product-price', 'get_wvs_pro_archive_variation_template', 999, 1 ); | |
function get_wvs_pro_archive_variation_template( $html ) { | |
$wvs_archive_variation_template = wvs_pro_archive_variation_template(); | |
$html .= $wvs_archive_variation_template; | |
return '<div class="price">' . $html . '</div>'; | |
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
<?php | |
add_filter( 'jet-woo-builder/template-functions/product-add-to-cart-settings', 'wvs_pro_archive_variation_button_args', 999, 2 ); | |
function wvs_pro_archive_variation_button_args( $args ) { | |
global $product; | |
$product = wc_get_product(); | |
$ajax_add_to_cart_enabled = 'yes' === get_option( 'woocommerce_enable_ajax_add_to_cart' ); |
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
<style> | |
.jet-filter-label:after { | |
content: "˅"; | |
float: right; | |
margin-right: 10px; | |
} | |
.jet-filter-label.noicon:after{ | |
content: ""; |
NewerOlder