View this code at http://livecoding.io/5796992
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
<!-- Quantcast Tag --> | |
<script> | |
var ezt = ezt ||[]; | |
(function(){ | |
var elem = document.createElement('script'); | |
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://pixel") + ".quantserve.com/aquant.js?a=p-Z4bfNLnN8psjN"; | |
elem.async = true; | |
elem.type = "text/javascript"; | |
var scpt = document.getElementsByTagName('script')[0]; | |
scpt.parentNode.insertBefore(elem,scpt); |
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="text/javascript"> | |
/* Set those variables here */ | |
var donationAmount = '100', | |
donationType = 'onetime', | |
transactionId = 'abcdefghijk'; | |
/* Quantcast tag */ | |
var _qevents = _qevents || []; | |
(function() { | |
var elem = document.createElement('script'); |
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
*,*:before,*:after{box-sizing:border-box}.test{-ms-transform:translateX(50%);transform:translateX(50%)}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none !important}figure{margin:0}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-moz-osx-font-smoothing:gray}html,button,input,select,textarea{font-family:inherit}body{margin:0;font-size:19px;font-family:"Arnhem",serif;line-height:1.5;color:#343c40;background-color:#fff;font-variant-ligatures:common-ligatures;font-feature-settings:"liga"}@media (min-width: 550px){body{font-size:20px}}img{border:0;-ms-interpolation-mode:bicubic}img,a img{max-width:100%;height:auto}object,embed{display:block;max-width:100%}svg:not(:root){overflow:hidden}::-moz-selection{background:#ffed50}::selection{background:#ffed50}::-moz-selection{background:#ffed50}button{font-size:100%;ma |
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
----------------------------------------------------------------------- | |
Donation Confirmation Tag | |
***Add this tag to the Donation Confirmation page and update INSERT+CUSTOMER+TYPE (ie one time vs monthly), INSERT+REVENUE and INSERT+ORDER+ID place holders with variables/macros to pass corresponding dynamic data*** | |
<!-- Start Quantcast Tag --> | |
<script type="text/javascript"> | |
var _qevents = _qevents || []; |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>change shortname</title> | |
</head> | |
<body> | |
<h1>Disqus y u no work </h1> |
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
if tput setaf 1 &> /dev/null; then | |
tput sgr0 | |
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then | |
MAGENTA=$(tput setaf 9) | |
ORANGE=$(tput setaf 172) | |
GREEN=$(tput setaf 190) | |
PURPLE=$(tput setaf 141) | |
WHITE=$(tput setaf 256) | |
else | |
MAGENTA=$(tput setaf 5) |
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
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "css" | |
sass_dir = "sass" | |
images_dir = "img" | |
javascripts_dir = "js" | |
fonts_dir = "fonts" | |
# You can select your preferred output style here (can be overridden via the command line): | |
output_style = :compact |
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>simple3d</title> | |
<style type="text/css" title="text/css"> | |
.sandbox-wrap { | |
-webkit-perspective: 800px; | |
-moz-perspective: 800px; | |
-o-perspective: 800px; | |
perspective: 800px; |
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
// Custom login page. Modifying logo image, link and title. | |
function my_custom_login_logo() { | |
echo '<style type="text/css"> h1 a { background-image:url('.get_stylesheet_directory_uri().'/img/MYLOGO.png) !important; }</style>'; | |
} | |
add_action('login_head', 'my_custom_login_logo'); | |
function namespace_login_headerurl( $url ) { | |
$url = get_bloginfo( 'url' ); | |
return $url; | |
} |