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 filter_plugin_updates( $value ) { | |
unset( $value->response['elementor-pro/elementor-pro.php'] ); | |
return $value; | |
} | |
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' ); |
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
tags: [<?php | |
foreach ( get_the_terms( get_the_ID(), 'listing-tag' ) as $tax ) { | |
echo '"' . __( $tax->slug ) . '",'; | |
} | |
foreach ( get_the_terms( get_the_ID(), 'listing-amenity' ) as $tax ) { | |
echo '"' . __( $tax->slug ) . '",'; | |
} | |
foreach ( get_the_terms( get_the_ID(), 'listing-category' ) as $tax ) { | |
echo '"' . __( $tax->slug ) . '",'; | |
} |
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
<div class="sccontent"> | |
<p>default text here</p> | |
<p class="moretext"> | |
more text here | |
</p> | |
</div> | |
<a class="readmore" href="#">Read more</a> | |
<style> | |
.moretext { |
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
//Cluster init | |
if (s.cluster) { | |
markerCluster = new MarkerClusterer(map, markers, { | |
maxZoom: 12, | |
gridSize: 40, | |
//add image path url | |
imagePath: "https://www.bitcoinatmnearme.com/wp-content/themes/findall/images/m", | |
}); | |
} |
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 | |
// news | |
add_shortcode( 'news', 'news_shortcode' ); | |
function news_shortcode( $atts ) { | |
extract(shortcode_atts(array( | |
'id' => null | |
), $atts, 'news')); | |
$post_ids = explode(",", strval($id)); | |
ob_start(); |
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
$('#classorid').click(function() { | |
$('.classoridnew').addClass("class"); | |
}); |
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
.ss .fa { | |
-webkit-transform: rotate(0); | |
-moz-transform: rotate(0); | |
-ms-transform: rotate(0); | |
-o-transform: rotate(0); | |
transform: rotate(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
[select* scteto first_as_label "select one" "item1" "item2" "item3" "item4" "item5"] | |
+ Design custom arrow | |
select { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none; | |
background-image: url(../images/select-drop.svg); | |
background-repeat: no-repeat; | |
background-position: right center; |
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
<video class="scvideos3" autoplay loop muted playsInline width='100%' height='100%' preload="auto"> | |
<source src="dd.webm" type="video/webm"> | |
<source src="dd.mp4" type="video/mp4"> | |
</video> | |
//another example | |
<video class="scvideo" preload="auto" loop="loop" muted="true" playsinline="true" autoplay="autoplay"> | |
<source src="mpr.mp4" type="video/mp4"> | |
</video> |
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( $ ){ | |
$( document ).on('submit_success', '.contactsc2 .elementor-form', function(){ | |
$submitted_form = $( this ); | |
$('.contactsc2 .elementor-form-fields-wrapper').hide(); | |
// $submitted_form.hide(); | |
$('.contactsc2 .elementor-message-success').show(); | |
}); | |
}); |