Skip to content

Instantly share code, notes, and snippets.

View naomi10's full-sized avatar

Naomi Nagamine naomi10

  • São Paulo - Brazil
View GitHub Profile
@nutsandbolts
nutsandbolts / (Force excerpts on Genesis search results (functons.php)
Last active January 9, 2019 20:06 — forked from srikat/functions.php
Forces Genesis search results to display excerpts no matter what options are chosen in the theme archive settings. Props to @srikat for this one!
add_action( 'genesis_before_loop', 'sk_excerpts_search_page' );
function sk_excerpts_search_page() {
if ( is_search() ) {
add_filter( 'genesis_pre_get_option_content_archive', 'sk_show_excerpts' );
}
}
function sk_show_excerpts() {
return 'excerpts';
}
@studiopress
studiopress / columns.css
Last active July 23, 2024 20:27
Genesis column classes.
/* Column Classes
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */
.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,