I'm trying to insert one of my Gravity Forms into a sidebar, I tried this:
But that doesn't work, isn't there a function?
I'm trying to insert one of my Gravity Forms into a sidebar, I tried this:
But that doesn't work, isn't there a function?
Oh and I can't use a widget because I need to insert a different form based on a custom field I enter into each post.
NVM Found it in the Documentation:
<?php gravity_form($id, $display_title=true, $display_description=true, $display_inactive=false, $field_values=null, $ajax=false); ?>
Oh but it Didn't Include the CSS, how do you make it include the CSS with a Function call?
When you add a form using the function call rather than the shortcode, you need to manually enqueue the styles and scripts.
Please review this FAQ item:
http://www.gravityhelp.com/question/my-forms-styles-arent-being-loaded-properly/