PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Added a form to the sidebar but nothing appears

  1. How do I put a form into the sidebar (right column)?

    I created and saved a form and want to put it in the WordPress (Thesis theme) sidebar. I pasting the code <?php gravity_form(1); ?> into a text box. Result: Nothing appears except the title I assigned to the text box.

    Background: This is still on an internal test system so I can't give you the URL yet. This is my first time using Gravity. I'm not a techie nor am I adept at coding, though I CAN follow instructions!

    FYI, Mark purchased the program, but this is Laura, the marketing person, writing here.

    Thanks,
    Laura

    Posted 14 years ago on Thursday December 24, 2009 | Permalink
  2. If you are using a text box widget I don't believe you can paste a PHP function call into a text box widget. The function would have to go in your theme file, the actual sidebar.php file. Since you are using Thesis you aren't going to want to edit your theme directly as it is designed to use child themes.

    What you could try is Joost de Valk's Gravity Forms Widget add-on. This is a widget that you can add to your sidebar and use it to display a Gravity Form.

    You can download it here:

    http://netdna.yoast.com/downloads/gravity-forms-widget.zip

    You will need to download this and then install it just like a plugin. It will then add a new widget to your Widgets menu. Please note that we didn't develop this Widget, Joost de Valk did.

    But that should help you use a form as a sidebar widget.

    Posted 14 years ago on Thursday December 24, 2009 | Permalink
  3. Thanks for your rapid response and Merry Christmas. This worked fine. I set the fonts in Thesis and like the way it looks except one detail:

    How do I put some horizontal white space (carriage return) between the Description and the first field? I tried adding some CRs after the Description text but it ignores that.

    Posted 14 years ago on Thursday December 24, 2009 | Permalink
  4. Just figured out a solution: I inserted a blank section break before the first field. Thanks anyway!

    Posted 14 years ago on Thursday December 24, 2009 | Permalink
  5. A better way to do this would be to use CSS to add pading or magin where you want the extra space to appear. You would have to be familiar with CSS to do so.

    Posted 14 years ago on Thursday December 24, 2009 | Permalink