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
{# | |
* | |
* | |
* @package WordPress | |
* @subpackage | |
* @category theme | |
* @category view | |
* @author Paul Gilzow, Mizzou Creative, University of Missouri | |
* @copyright 2016 Curators of the University of Missouri | |
#} |
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('vc_before_init', 'vc_before_init_actions'); | |
function vc_before_init_actions() | |
{ | |
require_once(get_template_directory() . '/vc_templates/breadcrumb.php'); | |
require_once(get_template_directory() . '/vc_templates/blockquote.php'); | |
require_once(get_template_directory() . '/vc_templates/post_grid_filters.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 | |
/* | |
Element Description: VC Info Box | |
*/ | |
// Element Class | |
class vcblockquote extends WPBakeryShortCode { | |
// Element Init | |
function __construct() { |
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 | |
/* | |
Element Description: VC Post Grid Filters | |
*/ | |
// Element Class | |
class vcpostgridfilters extends WPBakeryShortCode | |
{ | |
// Element Init |
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 | |
/** | |
* Remove user list endpoint from rest api | |
*/ | |
add_filter('rest_endpoints', function($aryEndpoints){ | |
if(isset($aryEndpoints['/wp/v2/users'])){ | |
unset($aryEndpoints['/wp/v2/users']); | |
} | |
if(isset($aryEndpoints['/wp/v2/users/(?P<id>[\d]+)'])){ | |
unset($aryEndpoints['/wp/v2/users/(?P<id>[\d]+)']); |
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": "backstop_default", | |
"viewports": [ | |
{ | |
"label": "phone", | |
"width": 320, | |
"height": 480 | |
}, | |
{ | |
"label": "desktop", |
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
root@0acda0b4cf61:/src# backstop reference | |
BackstopJS v5.3.0 | |
Loading config: /src/backstop.json | |
COMMAND | Executing core for "reference" | |
(node:21018) ExperimentalWarning: The fs.promises API is experimental | |
clean | backstop_data/bitmaps_reference was cleaned. | |
createBitmaps | Selected 5 of 5 scenarios. | |
CREATING NEW REFERENCE FILE | |
Cookie state restored with: [] |
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
╰─ backstop reference | |
BackstopJS v5.3.0 | |
Loading config: /Users/gilzowp/Documents/work/test/backstop-debug/backstop.json | |
COMMAND | Executing core for "reference" | |
clean | backstop_data/bitmaps_reference was cleaned. | |
createBitmaps | Selected 5 of 5 scenarios. | |
CREATING NEW REFERENCE FILE | |
Cookie state restored with: [] | |
CREATING NEW REFERENCE FILE |
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
root@0acda0b4cf61:/src# backstop reference | |
BackstopJS v5.3.0 | |
Loading config: /src/backstop.json | |
COMMAND | Executing core for "reference" | |
(node:22986) ExperimentalWarning: The fs.promises API is experimental | |
clean | backstop_data/bitmaps_reference was cleaned. | |
createBitmaps | Selected 5 of 5 scenarios. | |
CREATING NEW REFERENCE FILE | |
Cookie state restored with: [] |
OlderNewer