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 | |
/* | |
* Dependent Plugin Activation/Deactivation | |
* | |
* Sources: | |
* 1. https://pippinsplugins.com/checking-dependent-plugin-active/ | |
* 2. http://10up.com/blog/2012/wordpress-plug-in-self-deactivation/ | |
* | |
*/ | |
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 | |
/* | |
Plugin Name: Disable plugins when doing local dev | |
Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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 shown above. Copy the code shown below. | |
<!-- 0) Display Medium sized image floated right --> | |
http://sridharkatakam.com/how-to-display-featured-image-in-single-posts-in-genesis/ | |
$image_args = array( | |
'size' => 'medium', | |
'attr' => array( |
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 | |
/** | |
* Relocates page titles and adds header image wrapper. | |
* | |
* @since 1.0.0 | |
*/ | |
function essence_page_hero_header() { | |
add_action( 'genesis_before_header', 'essence_header_hero_start' ); | |
add_action( 'genesis_after_header', 'essence_header_title_wrap', 90 ); |
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 | |
/** | |
* Set the display_logo option to "no" for all mollie payment options | |
* | |
* @package DeWittePrins\CoreFunctionality; | |
* @since 1.7.12 | |
* @author Hans Schuijff | |
* @link https://dewitteprins.nl | |
* @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 | |
/** | |
* Forces the display_logo setting to "no" | |
* on all Mollie gateways | |
* | |
* @package DeWittePrins\CoreFunctionality; | |
* @since 1.7.12 | |
* @author Hans Schuijff | |
* @link https://dewitteprins.nl | |
* @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 | |
/** | |
* Makes the module column in the admin's lesson list sortable. | |
* | |
* @package DeWittePrins\CoreFunctionality\SenseiLMS | |
* @since 1.7.1 | |
* @author Hans Schuijff | |
* @link https://dewitteprins.nl | |
* @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 | |
/** | |
* Unhook callbacks from WordPress filter or action hooks. | |
* including the removal of closures and methods of anonymous objects. | |
* | |
* @package DeWittePrins\CoreFunctionality | |
* @author Hans Schuijff | |
* @since 1.0.0 | |
* @license GPL-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 | |
/** | |
* Plugin Name: Activate required plugins. | |
* Description: Programmatically install and activate plugins based on a runtime config. | |
* Version: 1.0 | |
* Author: Hans Schuijff | |
* Author URI: http://dewitteprins.nl | |
* License: MIT | |
* License URI: http://www.opensource.org/licenses/mit-license.php | |
*/ |
OlderNewer