<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Uploading files to current post, with gravity forms.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/uploading-files-to-current-post-with-gravity-forms</link>
		<description>Gravity Support Forums Topic: Uploading files to current post, with gravity forms.</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:10:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/uploading-files-to-current-post-with-gravity-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Uploading files to current post, with gravity forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/uploading-files-to-current-post-with-gravity-forms#post-106951</link>
			<pubDate>Mon, 24 Dec 2012 06:29:48 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">106951@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you.  Let us know if you need more help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Landapixel on "Uploading files to current post, with gravity forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/uploading-files-to-current-post-with-gravity-forms#post-106945</link>
			<pubDate>Mon, 24 Dec 2012 06:17:05 +0000</pubDate>
			<dc:creator>Landapixel</dc:creator>
			<guid isPermaLink="false">106945@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you, and merry christmas!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Uploading files to current post, with gravity forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/uploading-files-to-current-post-with-gravity-forms#post-106940</link>
			<pubDate>Mon, 24 Dec 2012 06:08:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">106940@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can do this.  When you embed the Gravity Form in a page or post, you will have access to the post ID.  You will need that to attach files to the post.  You can use the gform_after_submission hook to update an existing post: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In the first example on this page &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission#Examples&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission#Examples&#60;/a&#62; you can see how to update a post.  On line 06 though, you will need to &#60;strong&#62;get_post&#60;/strong&#62; for the post the form is embedded in, not the post which was just created.&#60;/p&#62;
&#60;p&#62;Then, you can use the WordPress function wp_insert_attachment:&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/wp_insert_attachment&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/wp_insert_attachment&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Let us know if you need more pointers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Landapixel on "Uploading files to current post, with gravity forms."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/uploading-files-to-current-post-with-gravity-forms#post-106580</link>
			<pubDate>Sun, 23 Dec 2012 20:45:00 +0000</pubDate>
			<dc:creator>Landapixel</dc:creator>
			<guid isPermaLink="false">106580@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;Is there anyway I can use gravity forms to have clients upload files to current post?&#60;/p&#62;
&#60;p&#62;Thank you in advance
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
