View basic-mailchimp-fields.php
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 | |
function pwcc_mailchimp_fields( $fields ) { | |
unset ( $fields ); | |
$fields = array ( | |
0 => array ( | |
"name" => "Email Address", |
View width-height-priority.css
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-width { | |
min-width: 50px; /* overrides */ | |
max-width: 25px; /* which in turn, overrides */ | |
width: 30px; | |
} | |
.set-height { | |
min-height: 50px; /* overrides */ | |
max-height: 25px; /* which in turn, overrides */ | |
height: 30px; |
View selector.js
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
/* | |
* $( 'input[type=datetime]' ) selects the inputs regardless | |
* of the browsers understanding, as does the equivlent CSS | |
* | |
* The custom selectors below select the inputs based on the | |
* fallback, rather than the attribute | |
* | |
* USE | |
* $( 'input:textprop' ); // select inputs displaying as type=text | |
* $( 'input:nottextprop' ); // select inputs not displaying as type=text |
View suitcss-names.css
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
.u-utility {} | |
.t-templateName {} | |
.ComponentName {} | |
.ComponentName-modifierName {} | |
.ComponentName_descendantName {} | |
.ComponentName.is-someState {} | |
.js-ComponentName /* JavaScript hook */ |
View .htaccess
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)?refererspam.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)?spamreferer.com/ [NC] | |
RewriteRule .* - [F] | |
</IfModule> |
View 100-some-template.json
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
{ | |
"forms" : { | |
"textInput" : { | |
"name" : "textInput", // needs to differ for each instance | |
"id" : "textInput" // needs to differ for each instance | |
} | |
} | |
} | |
// some code in here to allow for multiple instances |
View micropubfilter.php
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 | |
function micropub_url_to_postid($url) { | |
global $wp_rewrite; | |
/** | |
* Filter the URL to derive the post ID from. | |
* | |
* @since 2.2.0 | |
* |
View wp-seo-metabox.diff
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
diff --git a/content/plugins/wordpress-seo/js/wp-seo-metabox.js b/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
index ecbbf24..62a6a46 100644 | |
--- a/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
+++ b/content/plugins/wordpress-seo/js/wp-seo-metabox.js | |
@@ -282,12 +282,12 @@ function yst_updateDesc() { | |
snippet.find('.desc span.content').html(''); | |
yst_testFocusKw(); | |
- if (tinyMCE.get('excerpt') !== null) { | |
+ if ( window.tinyMCE && tinyMCE.get('excerpt') !== null) { |
View keyring-importer-instagram.php.diff
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
--- keyring-importer-instagram.php | |
+++ (clipboard) | |
@@ -55,7 +55,11 @@ | |
// First import starts from now and imports back to day-0. | |
// Auto imports start from the most recently imported and go up to "now" | |
+ | |
+ $post_type = apply_filters( 'keyring_post_type', 'post', static::SLUG ); | |
+ | |
$latest = get_posts( array( |
View pandachina.js
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
"\uD83D\uDC3C\uD83C\uDDE8\uD83C\uDDF3" |
OlderNewer