Skip to content

Instantly share code, notes, and snippets.

@davechu
Created October 24, 2014 15:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davechu/63eb059fec94dced5c31 to your computer and use it in GitHub Desktop.
Save davechu/63eb059fec94dced5c31 to your computer and use it in GitHub Desktop.
For Ben, this goes in functions.php or the equivalent. In this world of HTML5, sometimes it's handy to put in classes, ID's, etc. To see the list of goodies, read /genesis/lib/functions/markup.php.
add_filter( 'genesis_attr_sidebar-primary', 'dc_ben_sidebar_attr' );
function dc_ben_sidebar_attr( $attributes ) {
$attributes['class'] .= ' col3';
return $attributes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment