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":281474979915458,"type":"gallery","title":"Brendan Test 9\/17","author":"Author Byline Field","trackingTag":"true","publishAsDraft":false,"fields":[{"name":"seo_title","value":"Testing Revised Gallery - Feb 25th - Title Field","type":"META"},{"name":"toutImage","value":"84982","type":"IMAGE"},{"name":"toutImageCropOrientation","value":"Horizontal","type":"TAXONOMY"},{"name":"toutImageTitle","value":"Tout Image Title Field","type":"TEXT"},{"name":"toutImageCaption","value":"Tout Caption Field","type":"TEXT"},{"name":"toutImageAlt","value":"Tout Alternative Text Field","type":"TEXT"},{"name":"toutImageCredit","value":"Tout Credit Field","type":"TEXT"},{"name":"toutImageFocalPoint","value":"Tout Focal Point Field","type":"TEXT"},{"name":"toutImageRights","value":"restricted","type":"TAXONOMY"},{"name":"toutImageUsage","value":"Tout Image Rights Usage Field","type":"TEXT"},{"name":"socialTitle","value":"Social Title Field","type":"TEXT"},{"name":"socialDescription","value":"Social Description Field"," |
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 | |
// Filter search endpoint responses. | |
add_filter( 'rest_post_dispatch', 'wp_47684_filter_response', 10, 3 ); | |
/** | |
* Resolves the behavior reported in WP Core Trac 47684. | |
* | |
* @see https://core.trac.wordpress.org/ticket/47684 | |
* |
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
#!/bin/bash | |
# Usage: | |
# | |
# ./redirects.sh dev marthastewart < sample.csv | |
while IFS=, read -r from to | |
do | |
wpcli @$1 onecms-srm add $from $to 301 --url=$2.$1.onecms.io | |
done |
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
/** | |
* Save term meta data. | |
* | |
* @param int $cat_id Category ID. | |
* @return void | |
*/ | |
public static function create_category_page_data( $cat_id ) { | |
// Setup the values for the category page. | |
$author_id = get_current_user_id(); | |
$post_type = 'category-page'; |
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 | |
/** | |
* This file is for loading all mu-plugins within subfolders | |
* where the PHP file name is exactly like the directory name + .php. | |
* | |
* Example: /mu-tools/mu-tools.php | |
*/ | |
$dirs = glob( dirname( __FILE__ ) . '/*' , GLOB_ONLYDIR ); |
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
326674 | |
326673 | |
326671 | |
326670 | |
326669 | |
326668 | |
326666 | |
326665 | |
326664 | |
326663 |
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
276249 | |
276259 | |
260717 | |
260718 | |
257278 | |
271458 | |
259033 | |
253331 | |
253332 | |
265212 |
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
{ | |
"author": "Varsha Author", | |
"fields": [ | |
{ | |
"name": "seo_title", | |
"type": "META", | |
"value": "SkywordGallery_MTQA_Test04052019" | |
}, | |
{ | |
"name": "toutImage", |
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
{ | |
"author": "247", | |
"fields": [ | |
{ | |
"name": "seo_title", | |
"type": "META", | |
"value": "MTQA_Test0404_SkywordGallery" | |
}, | |
{ | |
"name": "toutImage", |
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
{ | |
"author": "247", | |
"fields": [ | |
{ | |
"name": "primary_image", | |
"type": "IMAGE", | |
"value": "555993" | |
}, | |
{ | |
"name": "primary_crop_orientation", |