This file contains hidden or 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
# If you accidentally deleted files from a subversion working copy, subversion marks them missing instead of | |
# deleted. This command will delete them correctly from the repository. | |
svn rm $( svn status | sed -e '/^!/!d' -e 's/^!//' ) |
This file contains hidden or 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 | |
/** | |
* Handles display of 404 page. | |
* | |
* Edited by Eugen Oprea - http://www.eugenoprea.com/ | |
* | |
* This file should be added in the directory of your child theme! | |
* | |
* @category Genesis | |
* @package Templates |
This file contains hidden or 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 | |
/** | |
* Plugin Name: Gravity Forms - Notification Extras | |
* Author: Richard Wawrzyniak | |
* Description: Adds new settings to Gravity Forms Notifications enabling file uploads to be attached to notifications and the notification format to be changed to text. | |
* Version: 1.0 | |
* | |
* Last Modified: 17/10/2014 | |
* Updated attach_file() to allow for possibility that uploads folder was changed | |
* Added suppot for post_image fields |
This file contains hidden or 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 'You are here' texts in Genesis Framework breadcrumb | |
add_filter( 'genesis_breadcrumb_args', 'afn_breadcrumb_args' ); | |
function afn_breadcrumb_args( $args ) { | |
$args['labels']['prefix'] = ''; | |
return $args; | |
} |
This file contains hidden or 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 | |
if(defined('WP_CRON_CUSTOM_HTTP_BASIC_USERNAME') && defined('WP_CRON_CUSTOM_HTTP_BASIC_PASSWORD')) { | |
function http_basic_cron_request($cron_request) { | |
$headers = array('Authorization' => sprintf('Basic %s', base64_encode(WP_CRON_CUSTOM_HTTP_BASIC_USERNAME . ':' . WP_CRON_CUSTOM_HTTP_BASIC_PASSWORD))); | |
$cron_request['args']['headers'] = isset($cron_request['args']['headers']) ? array_merge($cron_request['args']['headers'], $headers) : $headers; | |
return $cron_request; | |
} |
This file contains hidden or 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 | |
// PHP 5.6 | |
usort($array, function($a, $b) { | |
if ($a == $b) { | |
return 0; | |
} | |
return ($a < $b) ? -1 : 1; | |
}); |
This file contains hidden or 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 | |
/** | |
* Plugin Name: EDD - Discounts for Subscribers | |
* Plugin URI: https://www.nosegraze.com/apply-edd-discount-code-cart-contents | |
* Description: Automatically applies an EDD discount code if certain cart conditions are met. | |
* Version: 1.0 | |
* Author: Nose Graze | |
* Author URI: https://www.nosegraze.com | |
* License: GPL2 | |
* |
This file contains hidden or 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( 'facetwp_assets', function( $assets ) { | |
$assets['accessibility.js'] = FACETWP_URL . '/assets/js/src/accessibility.js'; | |
return $assets; | |
}); |
This file contains hidden or 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 | |
/** | |
* Plugin Name: Convert ACF PHP to JSON | |
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
*/ | |
namespace ConvertAcfPhpToJson; | |
/** | |
* Add submenu item under 'Custom Fields' |
This file contains hidden or 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 | |
/* | |
Plugin Name: GF file upload to ACF image field | |
Plugin URI: https://gist.github.com/certainlyakey/8c19791b3133beb62d323bf060bf4270 | |
Description: Map Gravity forms file upload field to ACF image/file field so GF would upload the file and save id to DB instead of URL. | |
Version: 1.0.0 | |
Author: Kellen Mace | |
*/ | |
OlderNewer