Skip to content

Instantly share code, notes, and snippets.

@kraftbj
Created March 22, 2013 14:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kraftbj/5221737 to your computer and use it in GitHub Desktop.
Remove primary sidebar from genesis
//the below is correct
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' );
// below is not correct
remove_action( ‘genesis_sidebar’, ‘genesis_do_sidebar’ );
// the difference is the "fancy quotes", they aren't true single-quotes so PHP will ignore them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment