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
--- | |
- | |
id: 14431761 | |
name: Grace and Truth Fellowship | |
published_on: 1392031911 | |
created_on: 1392031821 | |
modified_on: 1392031911 | |
url: https://www.behance.net/gallery/Grace-and-Truth-Fellowship/14431761 | |
privacy: public | |
fields: |
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
Foundation.utils.image_loaded($('.half-left .blocks img'), function(){ | |
$halfLeftBlocks.packery({ | |
columnWidth: '.half-left .block-sizer', | |
itemSelector: '.block', | |
"isOriginLeft": false | |
}); | |
}); |
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
<video autoplay loop poster="img/video_thumbnail.jpg"> | |
<source src="/media/original/mp4_video.mp4" type="video/mp4"> | |
<source src="/media/original/webm_video.webm" type="video/webm"> | |
<source src="/media/original/ogg_video.ogv" type="video/ogg"> | |
</video> |
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 | |
/** | |
* Class Hooks_wiper | |
*/ | |
class Hooks_wiper extends Hooks | |
{ | |
public function control_panel__publish($submission) | |
{ | |
if ($this->fetchConfig('enable', false, null, true)) { | |
$this->addon->api('html_caching')->invalidateCache(); |
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
ArgumentError on line ["143"] of /Applications/CodeKit.app/Contents/Resources/engines/compass/compass-core/lib/compass/configuration.rb: Invalid argument: {:project_path=>"/Users/phil/Desktop/compass-sucks"} |
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 | |
class Plugin_disqus extends Plugin { | |
var $meta = array( | |
'name' => 'Disqus', | |
'version' => '1', | |
); | |
public function comments() | |
{ |
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
function process_mailing_list($controller) | |
{ | |
if (post('mailinglist_signup')) { | |
$url = "https://us2.api.mailchimp.com/1.2/?output=php&method=listSubscribe"; | |
$data = Shop_CheckoutData::get_billing_info(); | |
$country = Shop_Country::create()->find($data->country); | |
$state = Shop_CountryState::create()->find($data->state); | |
$fields = array( |
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 ($product->extra_options->count): | |
?> | |
<div class="extra_options"> | |
<table class="product_attributes"> | |
<? foreach ($product->extra_options as $option): | |
$control_name = 'product_extra_options['.$option->option_key.']'; | |
$posted_options = post('product_extra_options', array()); | |
$is_checked = isset($posted_options[$option->option_key]); | |
$options_string = PSInventory_Data::create_option_string(post('options'), $product->id); |
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
<? $this->render_partial('shop:product_options'); ?> | |
<? if (PSInventory_Inventory::out_of_stock( $product, post('product_options') )): ?> | |
<p> | |
<strong> | |
<? $options_string = PSInventory_Data::create_option_string(post('product_extra_options', array()), $product->id); | |
$data = PSInventory_Data::create()->where('product_id=? AND options_string=?', $product->id, $options_string)->find(); | |
$extended_sku = $data->extended_sku; | |
?> | |
We're sorry, the item (size/color/style) you've selected is temporarily out-of-stock. | |
<a href="<?= site_url('out-of-stock-contact-form') ?>?item=<?= urlencode($extended_sku); ?>" rel="lightbox[external 900 300]" title="Out of Stock Contact Form" id="oosLink" class="button">Notify me</a> when this item becomes available. |
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
<? | |
function download_only_on_process_billing_address_place_order_and_pay($controller, $page, $params) | |
{ | |
if (post('ship_to_billing_address')) | |
{ | |
Shop_CheckoutData::copy_billing_to_shipping(); | |
$controller->action(); | |
} |
OlderNewer