Component description
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_filter( 'terms_clauses', 'cvp_query_term_alias', 10, 3 ); | |
/** | |
* Allow querying the term alias field. | |
* | |
* @param array $query_clauses | |
* @param array $taxonomies | |
* @param array $args |
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
<h2>Vinegar Substitute Guide</h2> | |
When substituting vinegars for one another, use the same amount as the amount of vinegar called for in the recipe. But use this primer on types of vinegar to choose one most similar to the vinegar called for in your recipe. For some types of vinegar we have specific substitution ideas. | |
<ul><li><strong>Cider vinegar </strong>is made from fermented apple cider and is mild with a subtle hint of apple flavor. It is the most versatile of the vinegars and makes a good substitute for almost any other. </li> | |
<li><strong>White vinegar</strong> is made from distilled grain alcohol with a sour and harsh flavor -- it may overpower more delicate flavors in your cooking.</li> | |
<li><strong>Fruit vinegars</strong> are usually mild in flavor and slightly sweet. They pair well as dressings for salad and in chicken recipes.</li> | |
<li><strong>Herb vinegars,</strong> which are infused with fresh herbs while the vinegar is still warm, are savory but subtle. Consider the herb that flavors the vinega |
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
wp.Uploader.queue.on('change', function(image) { | |
// This event runs whenever the upload percentage changes, so | |
// we need to check if the image ID has been assigned yet (which | |
// indicates that the upload has completed). | |
if (typeof image.attributes.id === 'undefined') { | |
return | |
} | |
// Check for the minimum width and height. | |
// In a _real_ implementation, these values, and the associated |
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
{ | |
"skywordId": 281474979916583, | |
"type": "gallery", | |
"title": "Skyword Gallery Test - March 1 - Testing Connection", | |
"author": "Author", | |
"trackingTag": "true", | |
"publishAsDraft": true, | |
"fields": [ | |
{ | |
"name": "seo_title", |
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
{ | |
"skywordId": 281474979913196, | |
"type": "gallery", | |
"title": "Test Gallery feed for skyword testing mapping testing", | |
"author": "guest-84974", | |
"trackingTag": "true", | |
"publishAsDraft": true, | |
"fields": [ | |
{ | |
"name": "seo_title", |
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 | |
$fh = fopen(__DIR__ . '/mytext.txt', 'r'); |
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 | |
$fh = fopen(__DIR__ . '/mytext.txt', 'r'); |
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
var fs = require('fs') | |
var rl = require('readline') | |
results = [] | |
var source = rl.createInterface({ | |
input: fs.createReadStream(__dirname + '/source') | |
}) | |
var destination = rl.createInterface({ |
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
var gulp = require('gulp') | |
var connect = require('gulp-connect') | |
var connectRewrite = require('connect-modrewrite') | |
/** | |
* Serve requests | |
*/ | |
gulp.task('serve', function () { | |
connect.server({ | |
root: 'public', |