This file contains 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
$('a').each(function() { | |
if (location.search.substr(1) !== '') { | |
query = location.search.substr(1); | |
symbol = $(this).attr('href').indexOf("?") == -1 ? '?' : '&'; | |
$(this).attr('href', $(this).attr('href') + symbol + query); | |
} | |
}); |
This file contains 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
@import "compass"; | |
@import "compass/reset"; | |
@import "icon/*.png"; | |
@include all-icon-sprites; | |
@import "logo/*.png"; | |
@include all-logo-sprites; | |
@import "pencil/*.png"; | |
@include all-pencil-sprites; |
This file contains 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 type="application/ld+json">// <![CDATA[ | |
{ | |
"@context": "http://schema.org", | |
"@type": "EmailMessage", | |
"publisher": { | |
"@type": "Organization", | |
"name": "African Wildlife Foundation", | |
"url": "http://www.awf.org", | |
"url/googlePlus": "https://plus.google.com/+AfricanWildlifeFoundation" | |
}, |
This file contains 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
[[E130:"[[S120:dc:giftAmount]]" "$" "" replaceall]] |
This file contains 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
[[E130:"[[S8]]" "https://secure2.edf.org/site/" "" replaceall "http://support.edf.org/site/" "" replaceall "/" "-" replaceall ".html" "" replaceall "SPageServer?" "" replaceall "PageServer?" "" replaceall "SPageNavigator?" "" replaceall "PageNavigator?" "" replaceall "Donation2?" "" replaceall "Advocacy?" "" replaceall "SSurvey?" "" replaceall "Survey?" "" replaceall "MessageViewer?" "" replaceall "?" "-" replaceall "&" "_" replaceall]] |
This file contains 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 els = document.getElementsByClassName('current-class-name'); | |
removeClass(els, 'current-class-name'); | |
addClass(els, 'new-class-name'); | |
var el = document.getElementById('current-class-name'); | |
removeClass([el], 'current-class-name'); | |
addClass([el], 'new-class-name'); | |
function addClass(elements, className) { | |
for (var i = 0; i < elements.length; i++) { |
This file contains 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 | |
/** | |
* Render dataLayer on a WooCommerce thank you page. | |
* This file should be added at the end of Theme Functions (functions.php) | |
* | |
* Official Class descriptions: | |
* https://docs.woocommerce.com/wc-apidocs/class-WC_Abstract_Order.html | |
* https://docs.woocommerce.com/wc-apidocs/class-WC_Order.html | |
* https://docs.woocommerce.com/wc-apidocs/class-WC_Order_Item.html | |
* https://docs.woocommerce.com/wc-apidocs/class-WC_Abstract_Legacy_Order.html |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Countdown Clock</title> | |
<meta charset="utf-8"/> | |
<style type="text/css"> | |
#countdown-container { | |
display: -ms-flex; | |
display: -moz-flex; | |
display: -webkit-flex; |