<?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: Insert shortcode in post body</title>
		<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body</link>
		<description>Gravity Support Forums Topic: Insert shortcode in post body</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 09:43:20 +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/insert-shortcode-in-post-body" rel="self" type="application/rss+xml" />

		<item>
			<title>drewbaker on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5842</link>
			<pubDate>Fri, 28 May 2010 02:53:33 +0000</pubDate>
			<dc:creator>drewbaker</dc:creator>
			<guid isPermaLink="false">5842@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It seems if your post has a post_thumbnail then the thumbnail will be used in the gallery instead of the fullsize image.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5551</link>
			<pubDate>Tue, 18 May 2010 16:32:34 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">5551@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We do plan on enhancing the post body functionality so that you have complete control over the post body and can insert values of other form fields (including images) into the post body before the post is created.  So this functionality WILL be enhanced in a future release, most likely in the 1.4 release of the plugin.  We already know how we will be doing it.  It's only going to continue getting better.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>drewbaker on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5544</link>
			<pubDate>Tue, 18 May 2010 12:55:19 +0000</pubDate>
			<dc:creator>drewbaker</dc:creator>
			<guid isPermaLink="false">5544@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Carl,&#60;br /&#62;
I'd be totally willing to pay someone to write up that code.&#60;/p&#62;
&#60;p&#62;Although, to be honest I'm a little disappointed with GF's handling of uploaded images. I was expecting something a little more flushed out, I really don't think it should be listed as a feature if there is no easy way to actually use the images uploaded. I don't know PHP well enough, that why I brought this plug in.&#60;/p&#62;
&#60;p&#62;Perhaps GF's could sell some add on's that increase GF's capabilities? I know a lot of people would pay for an add on that boosted the image upload/post features. Things like multiple image uploading in one go and a more powerful image insert feature.&#60;/p&#62;
&#60;p&#62;The Shopp plugin does a similar thing and I love it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5535</link>
			<pubDate>Tue, 18 May 2010 10:54:40 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">5535@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Drew, it's possible.  Anything is possible with PHP.  But you have to write the PHP to 1) check to see how many images are in the gallery 2) if there is only one get just the one image and then 3) either concatenate the one image or the gallery tag to the output. It's completely possible but more advanced PHP that would take time to think out and create.  &#60;/p&#62;
&#60;p&#62;If you aren't comfortable writing PHP you may want to consider paying someone to write this code for you.  There are a few WordPress consultants on this forum that i'm sure would be glad to help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>drewbaker on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5521</link>
			<pubDate>Mon, 17 May 2010 21:00:14 +0000</pubDate>
			<dc:creator>drewbaker</dc:creator>
			<guid isPermaLink="false">5521@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Alex,&#60;br /&#62;
I'm using the function code you provided to insert a gallery into a post created by GF.&#60;/p&#62;
&#60;p&#62;Is it possible to tweak it so that it will first check to see how many images have been attached, if it's only 1 then insert just the one image before the text. If it's more than 1, then insert the gallery. &#60;/p&#62;
&#60;p&#62;I get a lot of posts with just one image, and it sucks having my gallery slideshow load for just one image.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5318</link>
			<pubDate>Fri, 07 May 2010 21:50:16 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">5318@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It seems like when you run the shortcodes this way, it is run too late in the life-cycle and the scripts are not enqueued in time. It seems like you will need to manually include them&#60;/p&#62;
&#60;p&#62;If you run the following code before the loop, it should do the trick. (Make sure you add your actual form id).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;require_once(GFCommon::get_base_path() . &#38;quot;/form_display.php&#38;quot;);
$form = RGFormsModel::get_form_meta(&#38;quot;YOUR_FORM_ID&#38;quot;);
GFFormDisplay::enqueue_form_scripts($form);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>rzn8media on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5308</link>
			<pubDate>Fri, 07 May 2010 14:54:25 +0000</pubDate>
			<dc:creator>rzn8media</dc:creator>
			<guid isPermaLink="false">5308@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys I've created a custom field for the shortcode and then pulling it by filtering the_content(). That way I can put the form anywhere in my template...see&#60;/p&#62;
&#60;p&#62;&#38;lt;?php if (apply_filters('the_content', get_post_meta($post-&#38;gt;ID, 'Form_Code', true))){&#60;br /&#62;
	echo apply_filters('the_content', get_post_meta($post-&#38;gt;ID, 'Form_Code', true));&#60;br /&#62;
}?&#38;gt;&#60;br /&#62;
This works ok except the stylesheets don't show up and the conditional logic is broken... any help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5221</link>
			<pubDate>Mon, 03 May 2010 21:55:06 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">5221@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Carl. I bet there are people in this forum who'd love to know those release dates :) I know, I know... quit it already... .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5212</link>
			<pubDate>Mon, 03 May 2010 19:29:57 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">5212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, we will make it so the Post Body can be hidden or visible.  &#60;/p&#62;
&#60;p&#62;This won't be in the very next release, which will be a maintenance release WITh some extra new enhancements.  Mainly smaller features.  It will most likely be in the 1.4 release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Insert shortcode in post body"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/insert-shortcode-in-post-body#post-5166</link>
			<pubDate>Sun, 02 May 2010 06:15:32 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">5166@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl. This sounds fantastic. Two questions please if I may.&#60;/p&#62;
&#60;p&#62;(1) With the release you're talking about here, will there be a &#34;hidden/visible&#34; feature for the post body field? Seems desirable if you're enabling the creation of dynamic output.&#60;/p&#62;
&#60;p&#62;(2) I know you don't announce release dates, but are you able to tell us please whether this feature will be in the next or a subsequent release?&#60;/p&#62;
&#60;p&#62;Best regards&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
