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
[{"check_icon_color":"white","factory_name":"Black","stitch_color":"#5b5959","textile":"canvas","material_type":"canvas","blending":"Normal","repeat":["1.8","1.8"],"id":"7","color":"#343333","cq:tags":["solids:solids"],"display_name":"Black","exclusive":false,"image_assets":{"map":"/images/swatches/can_black_map.jpg"}},{"check_icon_color":"black","factory_name":"True White","stitch_color":"#c9cdc9","textile":"canvas","material_type":"canvas","blending":"Normal","repeat":["1.8","1.8"],"id":"4","color":"#f1f2f1","cq:tags":["solids:solids"],"display_name":"True White","exclusive":false,"image_assets":{"map":"/images/swatches/can_true_white_map.jpg"}},{"check_icon_color":"white","factory_name":"Black","textile":"canvas","material_type":"canvas","blending":"Normal","id":"116","color":"#343333","cq:tags":["solids:solids"],"display_name":"Black","exclusive":false,"image_assets":{}},{"check_icon_color":"black","factory_name":"True White","textile":"canvas","material_type":"canvas","blending":"Normal","id":"117","colo |
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
UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com'); |
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
UPDATE wp_posts SET guid = REPLACE (guid, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com'); |
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
UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldsiteurl.com', 'http://www.newsiteurl.com') WHERE option_name = 'home' OR option_name = 'siteurl'; |
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
git submodule update --recursive |
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
// YOUTUBE API | |
var tag = document.createElement('script'); | |
tag.src = "http://www.youtube.com/player_api"; | |
var firstScriptTag = document.getElementsByTagName('script')[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
var YT_Player; | |
var checkElem = setInterval(function(){ | |
if( $('#player') && $('#player')!=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
var player = { | |
playVideo: function(container, videoId) { | |
if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { | |
window.onYouTubePlayerAPIReady = function() { | |
player.loadPlayer(container, videoId); | |
}; | |
$.getScript('//www.youtube.com/player_api'); | |
} else { | |
player.loadPlayer(container, videoId); | |
} |
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
python -m SimpleHTTPServer |
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
$('#foo').each(function(i, val){ | |
setTimeout(function(){ | |
$(val).animate({ | |
'opacity': 1, | |
'top':0, | |
'duration':0.5 | |
}); | |
},i++ * 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
add_filter( 'woocommerce_cart_totals_coupon_label', 'skyverge_change_coupon_label' ); | |
function skyverge_change_coupon_label() { | |
echo 'Discount Applied'; | |
} |