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 | |
/** | |
* The custom pets post type single post template | |
*/ | |
/** Remove Default Genesis Sidebar */ | |
add_action( 'get_header', 'pet_init', 20 ); | |
function pet_init() { | |
remove_action('genesis_sidebar', 'ss_do_sidebar'); |
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 | |
/** Return the first taxonomy term name */ | |
function strays_tax_terms( $taxonomy, $term ) { | |
global $post; | |
$terms = get_the_terms( $post->ID, $taxonomy ); | |
$term = array_pop($terms); | |
if ( !is_wp_error( $term ) ) { | |
return $term->name; | |
} | |
} |
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
/** Define Gravity Forms License Key */ | |
define("GF_LICENSE_KEY", "YOUR-LICENSE-KEY-HERE"); |
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
/* Theme Name: Quattro Child Theme Theme URI: http://www.studiopress.com/themes/quattro | |
Description: Quattro is a two or three column child theme created for the Genesis Framework. | |
Author: StudioPress Author URI: http://www.studiopress.com/ | |
Version: 1.0 | |
Tags: black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light, | |
one-column, two-columns, three-columns, left-sidebar, right-sidebar, fixed-width, custom-background, custom-header, | |
custom-menu, featured-images, full-width-template, post-formats, sticky-post, theme-options, threaded-comments | |
Template: genesis | |
Template Version: 1.8.2 |
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
@media only screen and (max-width: 1200px) { | |
#header .widget-area { | |
width: 580px; | |
} | |
.menu-primary a, | |
.menu-secondary a, | |
#header .menu a { | |
padding: 15px; |
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 | |
/** | |
* Template Name: Testimonial Archives | |
* Description: Used as a page template to show page contents, followed by a | |
* loop through a CPT archive | |
*/ | |
/** Remove Post Info */ | |
remove_action('genesis_before_post_content','genesis_post_info'); |
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
remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
add_action( 'genesis_meta', 'landing_page_css' ); | |
/** | |
* Remove the default stylesheet and replace with landing.css. | |
* | |
* @author Robert Neu | |
* @since 1.0.0 | |
*/ | |
function landing_page_css() { | |
echo '<link rel="stylesheet" href="'. get_stylesheet_directory_uri() .'/landing.css" type="text/css" media="screen" />'."\n"; |
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 | |
/** | |
* Define URLs for a Must Use Plugin | |
* Remember to change EXAMPLE to your plugin prefix | |
* | |
* @author FAT Media <http://youneedfat.com> | |
* @copyright Copyright (c) 2013, FAT Media | |
* @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 | |
/** | |
* Enqueue a JavaScript file using a constant | |
* called EXAMPLE_JS_URL to get the plugin's js directory url. | |
* | |
* @author FAT Media <http://youneedfat.com> | |
* @copyright Copyright (c) 2013, FAT Media, LLC | |
* @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: Example MU Plugin | |
* Plugin URI: http://example.com | |
* Description: Site-specific plugin for example.com | |
* Version: 1.0.0 | |
* Author: FAT Media | |
* Author URI: http://youneedfat.com | |
*/ |