I hereby claim:
- I am ChrisHardie on github.
- I am chrishardie (https://keybase.io/chrishardie) on keybase.
- I have a public key whose fingerprint is 20C3 E523 5B67 AB60 9F3C 1024 FFB4 0D5A 25D9 BA70
To claim this, I am signing this object:
| if ( ! function_exists( 'my_add_seo_caps' ) ) { | |
| function dnc_add_seo_caps() { | |
| // Get admin role | |
| $role = get_role( 'administrator' ); | |
| // Add YOAST SEO Roles | |
| $role->add_cap( 'wpseo_manage_options' ); | |
| $role->add_cap( 'wpseo_edit_advanced_metadata' ); | |
| $role->add_cap( 'wpseo_manage_redirects' ); | |
| $role->add_cap( 'wpseo_bulk_edit' ); | |
| } |
| /** | |
| * Modify Jetpack module properties for testing/development | |
| * | |
| * @param array $mod Module to look at modifying the properties of. | |
| * @return boolean | |
| */ | |
| function jp_module_override( $mod ) { | |
| switch ( $mod['name'] ) { | |
| case 'Related posts': | |
| $mod['requires_connection'] = false; |
| /** | |
| * Add in-theme plugins | |
| */ | |
| function my_theme_plugins() { | |
| $plugins_to_include = array( | |
| 'wordpress-fieldmanager/fieldmanager.php', | |
| ); | |
| if ( count( $plugins_to_include ) ) { |
| <?php | |
| /** | |
| * Class JCH_Portfolio_Postmeta | |
| * Create meta boxes, post meta fields and archive link filters for portfolio items | |
| * With some help from https://gist.github.com/carlodaniele/121841f92956c3304436 | |
| */ | |
| class JCH_Portfolio_Postmeta { |
| <?php | |
| /** | |
| * @package Jetpack_Test | |
| * @version 1.0 | |
| */ | |
| /* | |
| Plugin Name: Jetpack Test | |
| Description: Allows certain Jetpack modules that would otherwise require a connection to WordPress.com to be run in a local development environment. | |
| Author: Del Putnam |
I hereby claim:
To claim this, I am signing this object: