Skip to content

Instantly share code, notes, and snippets.

View ChrisCree's full-sized avatar

Chris Cree ChrisCree

View GitHub Profile
@ChrisCree
ChrisCree / full-content-archives-genesis.php
Last active August 29, 2015 14:04 — forked from robneu/full-content-archives-genesis.php
Modified to display full content for posts in all categories.
<?php
// Do not copy opening PHP tag above
// Force content archves ti display full post content with no featured image
add_action( 'genesis_before_loop', 'wsm_full_content_categories' );
function wsm_full_content_categories() {
if ( is_category() ) {
add_filter( 'genesis_pre_get_option_content_archive_thumbnail', 'wsm_no_post_image' );
add_filter( 'genesis_pre_get_option_content_archive', 'wsm_do_full_content' );
add_filter( 'genesis_pre_get_option_content_archive_limit', 'wsm_no_content_limit' );
@ChrisCree
ChrisCree / 0_reuse_code.js
Created September 27, 2013 23:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console