<?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: Use Gravity Forms Shortcode in a Custom Field...</title>
		<link>https://legacy.forums.gravityhelp.com/topic/use-gravity-forms-shortcode-in-a-custom-field</link>
		<description>Gravity Support Forums Topic: Use Gravity Forms Shortcode in a Custom Field...</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:35:15 +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/use-gravity-forms-shortcode-in-a-custom-field" rel="self" type="application/rss+xml" />

		<item>
			<title>abrudtkuhl on "Use Gravity Forms Shortcode in a Custom Field..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gravity-forms-shortcode-in-a-custom-field#post-9927</link>
			<pubDate>Wed, 15 Sep 2010 16:02:40 +0000</pubDate>
			<dc:creator>abrudtkuhl</dc:creator>
			<guid isPermaLink="false">9927@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When I do this I get a JS error...&#60;/p&#62;
&#60;p&#62;Error: gf_apply_rules is not defined&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dax on "Use Gravity Forms Shortcode in a Custom Field..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gravity-forms-shortcode-in-a-custom-field#post-6192</link>
			<pubDate>Tue, 08 Jun 2010 23:47:55 +0000</pubDate>
			<dc:creator>dax</dc:creator>
			<guid isPermaLink="false">6192@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I thought I would share this.  I have a template that uses custom fields to output content in an additional content area on the page.  I had been outputting the content in the template using this code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo wpautop(get_post_meta($post-&#38;gt;ID, &#38;#39;custom_field_name_here&#38;#39;, true));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This outputted the content with the shortcode as text (not being processed).  I changed it to the following and was able to allow users to use shortcodes in the custom field and have the shortcode output the form on the page properly.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo apply_filters(&#38;#39;the_content&#38;#39;, get_post_meta($post-&#38;gt;ID, &#38;#39;custom_field_name_here&#38;#39;, true));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Be sure to replace &#60;em&#62;custom_field_name_here&#60;/em&#62; with your custom field name.  This code goes in a template file of your theme.  You will also need to include the gravity form CSS file explicitly as it does not seem to get inserted automatically using this method.  I added this to the top of my template file.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;link rel=&#38;#39;stylesheet&#38;#39; id=&#38;#39;gforms_css-css&#38;#39;  href=&#38;#39;/wp-content/plugins/gravityforms/css/forms.css?ver=2.9.2&#38;#39; type=&#38;#39;text/css&#38;#39; media=&#38;#39;&#38;#39; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Hope this helps others.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
