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 | |
/** | |
* Custom Category Template | |
* | |
* @package my_child_theme | |
* @since 1.0.0 | |
* @author Travis Smith <t@wpsmith.net> | |
* @copyright Copyright (c) 2013, Travis Smith | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
* @link https://gist.github.com/wpsmith/5062834 |
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
if ( !class_exists('JMO_Custom_Nav')) { | |
class JMO_Custom_Nav { | |
public function add_nav_menu_meta_boxes() { | |
add_meta_box( | |
'wl_login_nav_link', | |
__('WishList Login'), | |
array( $this, 'nav_menu_link'), | |
'nav-menus', | |
'side', | |
'low' |
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 | |
# Register custom post types on the 'init' hook. | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 1.0.0 | |
* @access public |
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 this line | |
/** | |
* Remove Genesis child theme style sheet | |
* @uses genesis_meta <genesis/lib/css/load-styles.php> | |
*/ | |
remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
/** | |
* Enqueue Genesis child theme style sheet at higher priority |
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 default Genesis Theme Options | |
* | |
* @author Joshua David Nelson, josh@joshuadnelson.com | |
*/ | |
add_filter( 'genesis_theme_settings_defaults', 'jdn_theme_settings' ); | |
function jdn_theme_settings( $defaults ) { | |
$defaults = array( | |
'update' => 1, |
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: Gravity Forms MailChimp Custom Export | |
Plugin URI: http://gravityview.co/ | |
Description: Custom plugin to force updated entries to be exported with the GF MailChimp add-on | |
Author: Katz Web Services, Inc. | |
Version: 1.1.0 | |
Author URI: http://www.katzwebservices.com | |
Copyright 2014 Katz Web Services, Inc. (email: info@katzwebservices.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
/* Sticky Primary nav */ | |
.nav-primary.fix { | |
position: fixed; | |
top: 0; | |
left: 0; | |
z-index: 1000; | |
width: 100%; | |
max-width: 100%; | |
overflow: visible; |
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: Your Custom Functionality Plugin | |
* Description: Short description of your plugin here. | |
* Author: your name here | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ | |
// Basic security, prevents file from being loaded directly. |