Skip to content

Instantly share code, notes, and snippets.

jQuery('.cart-customlocation span').remove();
var getCount = jQuery('.cart-customlocation').html().replace(/[\s-]+/g,'');
jQuery('.cart-customlocation').html(getCount);
<script>
jQuery( document ).ready(function() {
jQuery('.site-footer').appendTo('#main-content');
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('.widget_bloomwidget').each(function(){
var thisBloom = jQuery(this).clone();
jQuery(this).addClass('desktop');
jQuery(thisBloom).insertBefore('#main-footer');
});
<script>
jQuery( document ).ready(function() {
jQuery('.et_social_inline').insertAfter('.monarch-below');
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('.woocommerce-product-details__short-description form').appendTo('.summary.entry-summary');
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('.container center').insertAfter('#main-header');
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('.et_pb_audio_cover_art').each(function(){
let thisAudio = jQuery(this).parent().find('audio').get(0);
jQuery(this).click(function(){
<script id="fix-mobile-lang">
jQuery( document ).ready(function() {
jQuery('#et-extra-mobile-menu .menu-item-langselect-0 ul a').unbind();
});
</script>
<script>
jQuery( document ).ready(function() {
jQuery('p.et_audio_module_meta').each(function(){
let thisMeta = jQuery(this).html();
thisMeta = thisMeta.replace(/by/,'');
jQuery(this).html(thisMeta);
});
<script>
jQuery( document ).ready(function() {
jQuery('#et-info-phone').html('<a href="tel://+15555551212">+1 (555) 555-1212</a> ');
});
</script>