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 | |
wp_load_translations_early(); | |
$protocol = wp_get_server_protocol(); | |
header( "$protocol 503 Service Unavailable", true, 503 ); | |
header( 'Content-Type: text/html; charset=utf-8' ); | |
header( 'Retry-After: 30' ); | |
?> | |
<!DOCTYPE html> | |
<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
DEST='host:path' | |
COMPILE_COMMAND='yarn production' |
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
<div id="address" itemscope itemtype="http://schema.org/Organization"> | |
<ul itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
<li class="boldcopyright" itemprop="name">Creare Communications</li> | |
<li itemprop="streetAddress">Boughton Leigh House</li> | |
<li itemprop="addressLocality">Rugby</li> | |
<li itemprop="addressRegion">Warwickshire </li> | |
<li itemprop="postalCode">CV21 1HL</li> | |
</ul> | |
</div> |
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 | |
add_action('admin_footer', function(){ | |
echo " | |
<script> | |
jQuery.fn.extend({ | |
live: function (event, callback) { | |
if (this.selector) { | |
jQuery(document).on(event, this.selector, callback); | |
} |
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 | |
/** | |
* Split a postcode | |
* @param string $postcode | |
* @return array containing both outer and inner postcodes | |
*/ | |
function split_postcode($postcode) | |
{ | |
// remove spaces to be safe |
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
<!-- CSS --> | |
/* | |
Theme Name: | |
Theme URI: | |
Author: | |
Author URI: | |
Version: 1.0 | |
*/ | |
<!-- Head --> |
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
$( '.stat-counter' ).each(function() { | |
/** | |
* | |
* Get Vars from Data Attributes | |
* | |
*/ | |
var numFrom = $(this).data('from'); // starting no. | |
var numTo = $(this).data('to'); // end no. |
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
.*form_key.* | |
.*media/catalog.* | |
.*product_compare.* | |
.*media/wysiwyg.* | |
.*skin/frontend.* | |
.*wishlist/index.* | |
.*?p=.* |
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
Copy Soundcloud URLs - https://hydrogenaud.io/index.php/topic,91538.0.html | https://dl.dropboxusercontent.com/u/30782742/scrap/scrap.html |
NewerOlder