<?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: Pull-down Field populated from post titles</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles</link>
		<description>Gravity Support Forums Topic: Pull-down Field populated from post titles</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 11:03: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/pull-down-field-populated-from-post-titles" rel="self" type="application/rss+xml" />

		<item>
			<title>jrosebud on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-33650</link>
			<pubDate>Fri, 26 Aug 2011 14:19:45 +0000</pubDate>
			<dc:creator>jrosebud</dc:creator>
			<guid isPermaLink="false">33650@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just wanted to say that I had the same problem but was able to fix it by changing this line in code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$posts = get_posts(&#38;quot;category=Business&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$posts = get_posts(&#38;quot;category=Business&#38;amp;posts_per_page=-1&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Obviously, you'd change the category to your category or custom post type or taxonomy or whatever you're trying to populate your dropdown with.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23558</link>
			<pubDate>Mon, 18 Apr 2011 12:13:25 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">23558@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Laura,&#60;/p&#62;
&#60;p&#62;Shoot me an email at &#60;a href=&#34;mailto:david@rocketgenius.com&#34;&#62;david@rocketgenius.com&#60;/a&#62; with an FTP and WP Admin login and I will take a look. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Laura Johnson on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23521</link>
			<pubDate>Sun, 17 Apr 2011 19:07:31 +0000</pubDate>
			<dc:creator>Laura Johnson</dc:creator>
			<guid isPermaLink="false">23521@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David,&#60;/p&#62;
&#60;p&#62;Can we talk offline? I added it back in and got a similar error message. I'd like to get your help if you're willing to assist. &#60;/p&#62;
&#60;p&#62;Laura
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Laura Johnson on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23518</link>
			<pubDate>Sun, 17 Apr 2011 18:04:59 +0000</pubDate>
			<dc:creator>Laura Johnson</dc:creator>
			<guid isPermaLink="false">23518@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David,&#60;/p&#62;
&#60;p&#62;No worries. I did a restore from last night so my site is back up. I'll try it again shortly. &#60;/p&#62;
&#60;p&#62;And yes, I did make the change from the wp admin site...something I won't do again.&#60;/p&#62;
&#60;p&#62;I'm not very good at php which is what led to that error.&#60;/p&#62;
&#60;p&#62;Laura
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23516</link>
			<pubDate>Sun, 17 Apr 2011 17:17:09 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">23516@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Laura,&#60;/p&#62;
&#60;p&#62;You probably left the &#34;&#38;lt;?php&#34; opening tag from the snippet in your code where a &#34;&#38;lt;?php&#34; opening tag was already open. Just remove this tag from the line in error.&#60;/p&#62;
&#60;p&#62;I did not realize you were adding this code from within the WP editor to your functions.php file. This is not advisable due to this current situation. If you make any mistakes, you can not undo them since the site (front end and back end) will be inaccessible.&#60;/p&#62;
&#60;p&#62;You will want to login via FTP, open your theme's functions.php file and remove the &#34;&#38;lt;?php&#34; tag at the line indicated by the PHP error. Sorry for the confusion.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Laura Johnson on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23515</link>
			<pubDate>Sun, 17 Apr 2011 17:11:27 +0000</pubDate>
			<dc:creator>Laura Johnson</dc:creator>
			<guid isPermaLink="false">23515@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.&#60;/p&#62;
&#60;p&#62;Unfortunately, now I'm getting this error:&#60;/p&#62;
&#60;p&#62;Parse error: syntax error, unexpected $end in /home/brewbe2/public_html/newtest/wp-content/themes/ultrawebstudio/functions.php on line 345&#60;/p&#62;
&#60;p&#62;And I can't get in to my website, front-end or back-end.&#60;/p&#62;
&#60;p&#62;Laura
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23512</link>
			<pubDate>Sun, 17 Apr 2011 16:51:50 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">23512@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Laura,&#60;/p&#62;
&#60;p&#62;Give this updated snippet a shot:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1804905&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1804905&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You'll want to update the form ID, the drop down field ID, and the category ID where specified in the code. Let me know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Laura Johnson on "Pull-down Field populated from post titles"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pull-down-field-populated-from-post-titles#post-23464</link>
			<pubDate>Sat, 16 Apr 2011 11:52:02 +0000</pubDate>
			<dc:creator>Laura Johnson</dc:creator>
			<guid isPermaLink="false">23464@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I just read this thread &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/automatically-populate-a-dropdown-with-post-titles&#34; rel=&#34;nofollow&#34;&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/automatically-populate-a-dropdown-with-post-titles&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/automatically-populate-a-dropdown-with-post-titles&#60;/a&#62;&#34;&#60;/a&#62; and have made a lot of progress but I seem to have an issue with the results.&#60;/p&#62;
&#60;p&#62;I tweaked the form number and the field ID - but the results are only 5 posts (the most recent posts) and not in the correct category. Do I need to use the category name or the slug (I tried the slug - no joy)? Also, I can't figure out why only 5 posts are showing...I don't see a limit set in the code.&#60;/p&#62;
&#60;p&#62;What I want to do:&#60;br /&#62;
I have a dog rescue site where we list Available Beagles, one per post. We allow readers to sponsor beagles and I have set up the sponsorship page with a form where they can select which dog they want to sponsor from the list of available beagles in that category.&#60;/p&#62;
&#60;p&#62;You can get to the site: newtest.brewbeagles.org. You'll see both the the &#60;a href=&#34;http://newtest.brewbeagles.org/sponsor-a-beagle/&#34; rel=&#34;nofollow&#34;&#62;Sponsor a Beagle page&#60;/a&#62; and the &#60;a href=&#34;http://newtest.brewbeagles.org/category/available-beagles-2/&#34; rel=&#34;nofollow&#34;&#62;Available Beagles list&#60;/a&#62; there.&#60;/p&#62;
&#60;p&#62;I know very little about .php, and I've gotten this far mostly because your instructions on that earlier thread were AMA-ZING!&#60;/p&#62;
&#60;p&#62;Can you help me?&#60;br /&#62;
Laura
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
