<?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: Show uploaded file link with a post?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post</link>
		<description>Gravity Support Forums Topic: Show uploaded file link with a post?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:45:10 +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/show-uploaded-file-link-with-a-post" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8333</link>
			<pubDate>Sat, 07 Aug 2010 22:33:36 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">8333@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Per Carl Hancock:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Easiest way to see the field IDS is to view source or use a page inspector like FireBug in FireFox to view the page source and see what the field ids are. They are present in the HTML.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;That is probably your best bet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>processdriven on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8328</link>
			<pubDate>Sat, 07 Aug 2010 17:41:45 +0000</pubDate>
			<dc:creator>processdriven</dc:creator>
			<guid isPermaLink="false">8328@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK I think I understand.  So how do I determine the id of the file upload field?&#60;/p&#62;
&#60;p&#62;I appreciate all of your help David.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8326</link>
			<pubDate>Sat, 07 Aug 2010 14:27:16 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">8326@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not quite. This solution assumes that you are using the file upload field. The code snippet I provided would go in your theme's functions.php file; it takes the file upload url and adds a custom field to the post that is created by the form submission. You do not need to actually create a custom field in the form itself. &#60;/p&#62;
&#60;p&#62;Let me know if you have any other questions. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>processdriven on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8324</link>
			<pubDate>Sat, 07 Aug 2010 12:39:45 +0000</pubDate>
			<dc:creator>processdriven</dc:creator>
			<guid isPermaLink="false">8324@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David.&#60;br /&#62;
So you are suggesting I use a custom field rather than the file upload button? If so, how do I find the id number of the custom field?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8320</link>
			<pubDate>Sat, 07 Aug 2010 08:08:58 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">8320@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Are you comfortable using page templates and custom fields? If so, your best bet will be to create a &#60;a href=&#34;http://codex.wordpress.org/Pages#Page_Templates&#34; rel=&#34;nofollow&#34;&#62;custom page template&#60;/a&#62; that pulls a custom field using the &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/get_post_meta&#34; rel=&#34;nofollow&#34;&#62;get_post_meta&#60;/a&#62; function.&#60;/p&#62;
&#60;p&#62;This custom field could be named something like &#34;file_url&#34; and it would store the file url that was uploaded from your Gravity Forms form. To autopopulate this custom field when the form is submitted, something like this should do the trick:  &#60;a href=&#34;http://pastebin.com/UnFSjh3y&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/UnFSjh3y&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if($form[&#38;#39;id&#38;#39;] != 1) return;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Make sure you update the &#34;1&#34; to the id of the form you are using.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;update_post_meta($entry[&#38;quot;post_id&#38;quot;], &#38;#39;file_url&#38;#39;, $entry[29]);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Update the &#34;29&#34; to the id of the file upload field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>processdriven on "Show uploaded file link with a post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/show-uploaded-file-link-with-a-post#post-8315</link>
			<pubDate>Fri, 06 Aug 2010 22:49:18 +0000</pubDate>
			<dc:creator>processdriven</dc:creator>
			<guid isPermaLink="false">8315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using Gravity Forms as a way to allow members to make posts to the front end of the site.  I have added a file upload field to allow them to upload files with the post.  Is there a way to display the link to that file when the post is displayed on the site (approved)?&#60;/p&#62;
&#60;p&#62;I'm creating a project management site where I can interact with my clients and share files/information.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Andrew
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
