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( 'genesis_get_image_default_args', 'prefix_set_image_fallback' ); | |
/** | |
* Set default fallback image on archives. | |
* | |
* @since 1.0.0 | |
* | |
* @param array $args Default image 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
<?php | |
/** | |
* Load dynamic CSS stylesheet in WordPress. There are 4 steps: | |
* | |
* 1. Enqueue dynamic stylesheet on front end or add inline CSS if in Customizer. | |
* 2. Get the dynamic CSS with AJAX calls. | |
* 3. Generate CSS using PHP variables. | |
* 4. Minify CSS after before loading. | |
*/ |
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
/* ## Gravity Forms | |
--------------------------------------------- */ | |
.gform_heading, | |
.gform_body, | |
.gform_footer { | |
clear: both; | |
} | |
.gform_heading { |
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( 'genesis_markup_title-area_close', 'prefix_after_title_area', 10, 2 ); | |
/** | |
* Appends HTML to the closing markup for .title-area. | |
* | |
* Adding something between the title + description and widget area used to require | |
* re-building genesis_do_header(). However, since the title-area closing markup | |
* now goes through genesis_markup(), it means we now have some extra filters | |
* to play with. This function makes use of this and adds in an extra hook |
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 | |
// Do NOT include the opening php tag. | |
add_filter( 'spt_markup_link_open', 'prefix_spt_button_markup' ); | |
/** | |
* Open Simple Pricing Table links in new tab. | |
* | |
* @since 1.0.0 | |
* | |
* @return string |
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( 'header_video_settings', 'business_header_video_min_width', 10, 1 ); | |
/** | |
* Change minimum width to show the header video. | |
* | |
* @since 1.1.0 | |
* | |
* @link https://make.wordpress.org/core/2016/11/26/video-headers-in-4-7/ | |
* |
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 | |
/** | |
* Bootstraps the WordPress Integration Tests | |
* | |
* File should be placed in tests/phpunit/integration. | |
* | |
* @since 1.5.0 | |
* @license GNU-2.0+ | |
*/ |
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 | |
/** | |
* Studio Pro Theme | |
* | |
* This file adds helper functions used in the child theme. | |
* | |
* @package SeoThemes\StudioPro | |
* @link https://seothemes.com/themes/studio-pro | |
* @author SEO Themes | |
* @copyright Copyright © 2019 SEO Themes |
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 | |
/** | |
* Business Pro Theme | |
* | |
* This file adds helper functions to the Business Pro theme. | |
* | |
* @package BusinessProTheme | |
* @link https://seothemes.com/themes/business-pro | |
* @author SEO Themes | |
* @copyright Copyright © 2019 SEO Themes |
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
/** | |
* Gulp task config file. | |
*/ | |
'use strict'; | |
var pkg = require( './package.json' ), | |
gulp = require( 'gulp' ), | |
globs = require( 'gulp-src-ordered-globs' ), | |
toolkit = require( 'gulp-wp-toolkit' ), |