<?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: Controlling Post Links</title>
		<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links</link>
		<description>Gravity Support Forums Topic: Controlling Post Links</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:31:29 +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/controlling-post-links" rel="self" type="application/rss+xml" />

		<item>
			<title>selym on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39842</link>
			<pubDate>Thu, 03 Nov 2011 09:09:09 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">39842@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Worked perfectly, thank you very much Chris and David. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sel
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39736</link>
			<pubDate>Wed, 02 Nov 2011 16:09:18 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">39736@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Sel,&#60;/p&#62;
&#60;p&#62;I assume you are using the &#34;Post Body&#34; field to enter your message? If so, the issue is likely not with your use of the filter, but the fact that the filter does not apply to any of the Post fields. All of these fields accept HTML by default. We discussed internally and decided it make a lot of sense to allow the &#34;gform_allowable_tags&#34; filter to apply to ALL Gravity Form fields.&#60;/p&#62;
&#60;p&#62;I've sent you an updated version of Gravity Forms where this is the case. Let me know if you encounter any issues after installing. The existing code you've placed in your theme's functions.php file should not require any change with this new version.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39705</link>
			<pubDate>Wed, 02 Nov 2011 12:57:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">39705@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think you're close.  I will have one of the programmers take a look at this and see if they have any suggestions.  You're close to getting it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>selym on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39688</link>
			<pubDate>Wed, 02 Nov 2011 12:05:57 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">39688@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, I'm running Thesis, and I somewhat recognize those types of things, but that doesn't mean I truly understand it all. :( If I add the following into my custom_functions.php, should the return only allow new paragraph and bold markup? And if I put &#34;false&#34; in its place, would it not allow any html? Doesn't seem to work for me yet, so I must have something not right. &#60;/p&#62;
&#60;p&#62;add_filter(&#34;gform_allowable_tags&#34;, &#34;allow_basic_tags&#34;);&#60;br /&#62;
function allow_basic_tags($allowable_tags){&#60;br /&#62;
    return '&#38;lt;p&#38;gt;&#60;strong&#62;'; }&#60;/p&#62;
&#60;p&#62;Don't feel like you have to respond any more. You've baby sat me long enough. I'll keep reading, playing with it, testing. It's just an uphill battle when you're not a programmer. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sel&#60;/strong&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39678</link>
			<pubDate>Wed, 02 Nov 2011 11:17:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">39678@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1.  No, you never modify the core Gravity Forms files.  That code goes into your current theme's functions.php.&#60;/p&#62;
&#60;p&#62;The documentation you need is all located here:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;They're in a section called developer docs because some of them do require a bit of knowledge of WordPress hooks, filters and actions, and some PHP.  If you look in your theme's functions.php you might see some of these types of filters and actions already being implemented, and might be able to follow along.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>selym on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39669</link>
			<pubDate>Wed, 02 Nov 2011 11:03:31 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">39669@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, so if I'm understanding correctly based on your first link, I would add an allowable tags filter into form_display.php?&#60;/p&#62;
&#60;p&#62;It says the default is always false, so would that mean I add that first gform_allowable_tags filter (for all forms) with no function and it will not allow html? &#60;/p&#62;
&#60;p&#62;Is there a document that explains how to write these filters/functions properly? So if I wanted to play around with things and only wanted to remove &#38;lt; a href &#38;gt; like you said, but keep automatic paragraph breaks or something. When I searched for filters, I got hundreds of docs back with specific filters, but not a lot of info about how to manipulate them or include/exclude certain things. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sel
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39626</link>
			<pubDate>Tue, 01 Nov 2011 22:24:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">39626@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right, if you allow HTML and they use HTML, it will be hyperlinked if they submit that.&#60;/p&#62;
&#60;p&#62;In version 1.6 there is a filter for allowable HTML tags &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_allowable_tags&#34; rel=&#34;nofollow&#34;&#62;gform_allowable_tags&#60;/a&#62;.  You could use that and remove the &#38;lt; a href &#38;gt; tag.  Or, you could filter the post content to strip out HTML, using the gform_post_submission (gform_after_submission in 1.6 and later) filter.&#60;/p&#62;
&#60;p&#62;Prior to 1.6: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_submission&#34; rel=&#34;nofollow&#34;&#62;gform_post_submission&#60;/a&#62;&#60;br /&#62;
1.6 and later: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;gform_after_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>selym on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39623</link>
			<pubDate>Tue, 01 Nov 2011 20:52:49 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">39623@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well, yes, they are still hyperlinked if the user submits with html (a href=blah blah, etc) in the form. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sel
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39497</link>
			<pubDate>Tue, 01 Nov 2011 00:57:28 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">39497@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you still need help with this?  The text submitted by the user is not hyperlinked, correct?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>selym on "Controlling Post Links"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/controlling-post-links#post-39469</link>
			<pubDate>Mon, 31 Oct 2011 17:35:36 +0000</pubDate>
			<dc:creator>selym</dc:creator>
			<guid isPermaLink="false">39469@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ha, and yes, gmail definitely does hyperlink them automatically. Just noticed that on my blackberry when my last test form submission came though. ;)&#60;/p&#62;
&#60;p&#62;Sel
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
