Created
March 22, 2013 14:37
-
-
Save kraftbj/5221737 to your computer and use it in GitHub Desktop.
Remove primary sidebar from genesis
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
//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