Last active
December 15, 2015 04:39
-
-
Save braddalton/5203120 to your computer and use it in GitHub Desktop.
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
add_action('genesis_before_post', 'gravity_form_before_content'); | |
function gravity_form_before_content() { | |
if (is_category()) { | |
echo do_shortcode('[gravityform id=1 title=false description=false ajax=true]'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment