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.

Gravity Form Blog catagory

  1. What I need:
    To have an embedded form at the top of a specific blog category, sort of like a Q&A. Users would fill out form and an email send to an admin. The Admin would then answer the question, the question and answer would then become a blog post listed chronologically.

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink
  2. Hi natebald,

    You could manually embed the form via a function call wrapped in a category condition. If you want this just on the category archive page, a good starting point would be the category.php file.

    Posted 12 years ago on Tuesday December 13, 2011 | Permalink
  3. Thanks for your direction, this is what I came up with incase someone else out there is looking to do the same

    [php]
    <!-- filter out gravity form ?Catagory Name?-->
    <?php  if(is_category('xxxx'))
        gravity_form(x, false, false, false, '', false);
    ?>

    [edited by Chris Hajer 12/19/2011]

    Posted 12 years ago on Monday December 19, 2011 | Permalink
  4. Perfect. Thanks for sharing Nate. :)

    Closing this topic. If anyone has a questions or something to add, please feel free to start a new topic and reference this one. :)

    Posted 12 years ago on Monday December 19, 2011 | Permalink

This topic has been resolved and has been closed to new replies.