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 Plugin Name | |
* Plugin URI: http://plugin-homepage.tld | |
* Description: A description of your plugin. | |
* Version: 1.0 | |
* Author: Plugin Author Name | |
* Author URI: http://plugin-author-homepage.tld | |
* License: GPLv2 or later | |
* License URI: http://www.opensource.org/licenses/gpl-license.php |
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: New Tests Archive | |
*/ | |
/** Remove original Primary Sidear -- add custom sidebar */ | |
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); | |
add_action( 'genesis_sidebar', 'csbeck_custom_sidebar_archive' ); | |
function csbeck_custom_sidebar_archive() { |
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 | |
add_action('genesis_before_post_title', 'sfws_homepage_teaser_image'); | |
/** | |
* Adds Images to Posts in Grid | |
* | |
* Takes the amount of posts and applies the right size image, whether it's a featured post or a grid block post. | |
* | |
* @category Grid Loop | |
* @author Jonathan Perez, SureFireWebServices <[email protected]> |
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: Mask Outbound Links | |
Plugin URI: http://www.christopherguitar.net/ | |
Description: Masks outbound links behind a redirect | |
Author: Christopher Davis | |
Author URI: http://www.christopherguitar.net/ | |
License: GPL2 | |
*/ |
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! */ | |
/** Activate Genesis HTML5 support */ | |
add_theme_support( 'html5' ); |
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 | |
// Add support for 4-column footer widgets | |
add_theme_support( 'genesis-footer-widgets', 4 ); |
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
/* Column Classes | |
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.four-fifths, | |
.one-fifth, | |
.one-fourth, | |
.one-half, |
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 | |
// Don't include the above | |
add_filter( 'wp_nav_menu_items', 'prefix_change_nav_date_format', 15, 2 ); | |
/** | |
* Filter the Primary Navigation menu items in Genesis, to change the date format. | |
* | |
* @author Gary Jones | |
* @link http://www.studiopress.com/forums/topic/abbreviate-month-in-primary-navigation-bar-enterprise/ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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: Site Home Links | |
* Plugin URI: | |
* Description: | |
* Version: | |
* Author: Kailey Lampert | |
* Author URI: kaileylampert.com | |
* License: GPLv2 or later | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
OlderNewer