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.

Adding text to posts created by the form

  1. vandelay
    Member

    I'm going to be using a form to allow users to submit blog posts but I'd like to be able to add one line of text at the bottom of these posts in addition to the text that they enter through the form.

    My form includes the following fields:

    - Name (custom field)
    - Email
    - Post Title
    - URL (custom field)
    - Post Body

    Is there a way I can add one line of text that will be a link to the URL custom field at the end of each post? I could add it to the single.php file but I need it be included in the RSS feed.

    Thanks.

    Posted 14 years ago on Wednesday November 25, 2009 | Permalink
  2. Yes, you can add text to the post content by using the gform_post_data filter.
    The following post has a code snippet that should point you in the right direction.
    http://forum.gravityhelp.com/topic/question-on-post-forms#post-1649

    Posted 14 years ago on Wednesday November 25, 2009 | Permalink