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
=vendor($property, $value) | |
-webkit-#{$property}: $value | |
-moz-#{$property}: $value | |
-o-#{$property}: $value | |
#{$property}: $value | |
=block-shadow($distance, $horizontal, $vertical, $color) | |
$property: null | |
$i: 1 |
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
<!--[if gte mso 9]> | |
<v:image xmlns:v="urn:schemas-microsoft-com:vml" id="theImage" style='behavior: url(#default#VML); display:inline-block;position:absolute; height:190px; width:554px;top:0;left:0;border:0;z-index:1;' src="http://www.postgoldforcash.com/system/assets/images/ticksBg.jpg"/> | |
<v:shape xmlns:v="urn:schemas-microsoft-com:vml" id="theText" style='behavior: url(#default#VML); display:inline-block;position:absolute; height:190px; width:554px;top:-5;left:-10;border:0;z-index:2;'> | |
<div> | |
<![endif]--> | |
<!-- This is where you nest a table with the content that will float over the image --> | |
<table> | |
<tr> | |
<td style="background: url('/image.png');"></td> |
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
{% if customer.orders.size != 0 %} | |
{% assign orderfound = false %} | |
{% for order in customer.orders %} | |
{% if orderfound == false %} | |
{% for line_item in order.line_items %} | |
{% if line_item.product.url == product.url and orderfound == false %} | |
{% assign orderfound = true %} | |
<p> | |
You ordered this on {{ order.created_at | date: "%b %d, %Y" }}. <a href="{{ order.customer_url }}">View Order</a> | |
</p> |
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 | |
shell_exec('git pull'); |
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
img { | |
margin-top: 20px; | |
margin-bottom:20px; | |
} | |
img[src*='#left'] { | |
float: left; | |
margin-right: 20px; | |
} |
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
Right aligned | |
 | |
Left aligned | |
 |
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 cleanup () { | |
var textContent = jQuery('.wp-editor-area').val(); | |
textContent = textContent | |
.replace(/(\<center\>)(["a-z,.!?':;@£$%=\[\]{}^&*()_”“–—‘’\-\+0-9 \n]*)(\<\/center\>)/ig, "<blockquote>$2</blockquote>") | |
.replace(/(\<img.+\/\>)/g, "\n\n") | |
.replace(/(\<i\>)(.*)(\<\/i\>)/g, "<em>$2</em>") | |
.replace(/(\<b\>)(.*)(\<\/b\>)/g, "<strong>$2</strong>"); | |
jQuery('.wp-editor-area').val(textContent); | |
}; |
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
{% assign words = widowfix | split: ' ' %} | |
{% for word in words %}{% if forloop.first %}{{word}}{% elsif forloop.last %} {{word}}{% else %} {{word}}{% endif %}{% endfor %} |
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
@keyframes fadeIn { | |
0% {opacity: 0;} | |
100% {opacity: 1;} | |
} | |
html { | |
animation-duration: 0.2s; | |
animation-delay: 2s; | |
animation-name: fadeIn; | |
animation-fill-mode: forwards; |
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
# encoding: UTF-8 | |
# This file is auto-generated from the current state of the database. Instead | |
# of editing this file, please use the migrations feature of Active Record to | |
# incrementally modify your database, and then regenerate this schema definition. | |
# | |
# Note that this schema.rb definition is the authoritative source for your | |
# database schema. If you need to create the application database on another | |
# system, you should be using db:schema:load, not running all the migrations | |
# from scratch. The latter is a flawed and unsustainable approach (the more migrations | |
# you'll amass, the slower it'll run and the greater likelihood for issues). |
OlderNewer