Skip to content

Instantly share code, notes, and snippets.

@braddalton
Last active Dec 15, 2015
Embed
What would you like to do?
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