<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Custom Taxonomy Input Panels</title>
	<atom:link href="http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels/feed" rel="self" type="application/rss+xml" />
	<link>http://shibashake.com/wordpress-theme</link>
	<description>Dynamic WordPress Theme</description>
	<lastBuildDate>Fri, 11 May 2012 06:53:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13830</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Wed, 02 May 2012 03:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13830</guid>
		<description>Instead of doing !strcmp($theme-&gt;slug, $names[0]-&gt;slug), you would need to check for the entire $names array with something like an in_array.</description>
		<content:encoded><![CDATA[<p>Instead of doing !strcmp($theme->slug, $names[0]->slug), you would need to check for the entire $names array with something like an in_array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spo</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13826</link>
		<dc:creator>spo</dc:creator>
		<pubDate>Wed, 02 May 2012 01:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13826</guid>
		<description>Thanks for the reply!

Originally I posted with [code] and this is what I had..

&lt;pre&gt;
if (!is_wp_error($names) &amp;&amp; !empty($names) &amp;&amp; !strcmp($theme-&gt;slug, $names[0]-&gt;slug)) 
			echo &quot;slug . &quot;&#039; checked=&#039;yes&#039;&gt;&quot; . $theme-&gt;name . &quot;\n&quot;; 
		else
			echo &quot;slug . &quot;&#039; &gt;&quot; . $theme-&gt;name . &quot;\n&quot;;
&lt;/pre&gt;

So, as stated, still only saves first option or onle of the selected..

Do I need to define an array before wp_set_object_terms() and if so, where?</description>
		<content:encoded><![CDATA[<p>Thanks for the reply!</p>
<p>Originally I posted with [code] and this is what I had..</p>
<pre>
if (!is_wp_error($names) &amp;&amp; !empty($names) &amp;&amp; !strcmp($theme-&gt;slug, $names[0]-&gt;slug))
			echo "slug . "' checked='yes'&gt;" . $theme-&gt;name . "\n";
		else
			echo "slug . "' &gt;" . $theme-&gt;name . "\n";
</pre>
<p>So, as stated, still only saves first option or onle of the selected..</p>
<p>Do I need to define an array before wp_set_object_terms() and if so, where?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13810</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Tue, 01 May 2012 14:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13810</guid>
		<description>For multiple selections the name should have square brackets.
&lt;pre lang=&quot;HTML&quot;&gt;
&lt;input type=&quot;checkbox&quot; name=&quot;myname[]&quot; value=&quot;1&quot;/&gt;One
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>For multiple selections the name should have square brackets.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;input type=&quot;checkbox&quot; name=&quot;myname[]&quot; value=&quot;1&quot;/&gt;One</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: spo</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13399</link>
		<dc:creator>spo</dc:creator>
		<pubDate>Mon, 16 Apr 2012 05:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13399</guid>
		<description>Any ideas for using checkboxes?

Have come up with:

&lt;code&gt;
echo &quot;name . &quot;&#039; value=&#039;&quot; . $theme-&gt;slug . &quot;&#039; checked=&#039;yes&#039;&gt;&quot; . $theme-&gt;name . &quot;\n&quot;; 
else
echo &quot;name . &quot;&#039; value=&#039;&quot; . $theme-&gt;slug . &quot;&#039; &gt;&quot; . $theme-&gt;name . &quot;\n&quot;;&lt;/code&gt;

However, will only save the first option if more then one is checked, or the checked option if only one.</description>
		<content:encoded><![CDATA[<p>Any ideas for using checkboxes?</p>
<p>Have come up with:</p>
<p><code><br />
echo "name . "' value='" . $theme-&gt;slug . "' checked='yes'&gt;" . $theme-&gt;name . "\n";<br />
else<br />
echo "name . "' value='" . $theme-&gt;slug . "' &gt;" . $theme-&gt;name . "\n";</code></p>
<p>However, will only save the first option if more then one is checked, or the checked option if only one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13206</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Tue, 10 Apr 2012 18:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13206</guid>
		<description>If something is not saving, I usually just try to echo something out in the save_taxonomy_data function and then exit. For example -
&lt;pre lang=&quot;PHP&quot;&gt;
print_r($_POST); exit;
&lt;/pre&gt;

This lets me know if I am hitting the save function, and what input values it is getting.</description>
		<content:encoded><![CDATA[<p>If something is not saving, I usually just try to echo something out in the save_taxonomy_data function and then exit. For example -</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">print_r</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #990000;">exit</span><span style="color: #339933;">;</span></pre></div></div>

<p>This lets me know if I am hitting the save function, and what input values it is getting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Chester</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-13015</link>
		<dc:creator>James Chester</dc:creator>
		<pubDate>Thu, 05 Apr 2012 18:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-13015</guid>
		<description>Great tutorial, I am working on a custom post type and I&#039;ve created a custom metabox drop down for AM or PM but it won&#039;t save my value.  Can someone help me?  I&#039;m in a jam with my deadline looming.  I can send my code.

Best,
James</description>
		<content:encoded><![CDATA[<p>Great tutorial, I am working on a custom post type and I&#8217;ve created a custom metabox drop down for AM or PM but it won&#8217;t save my value.  Can someone help me?  I&#8217;m in a jam with my deadline looming.  I can send my code.</p>
<p>Best,<br />
James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WORDPRESS &#124; Pearltrees</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-12951</link>
		<dc:creator>WORDPRESS &#124; Pearltrees</dc:creator>
		<pubDate>Tue, 03 Apr 2012 08:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-12951</guid>
		<description>[...] Would you like to add new custom fields to your WordPress posts, pages, and categories? Now you can easily do this with the WordPress custom taxonomy system . For example, if you have a blog on movie reviews, you may want to add the fields Actors and Genre to each of your posts. WordPress Custom Taxonomy Input Panels [...]</description>
		<content:encoded><![CDATA[<p>[...] Would you like to add new custom fields to your WordPress posts, pages, and categories? Now you can easily do this with the WordPress custom taxonomy system . For example, if you have a blog on movie reviews, you may want to add the fields Actors and Genre to each of your posts. WordPress Custom Taxonomy Input Panels [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robbert</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-12529</link>
		<dc:creator>Robbert</dc:creator>
		<pubDate>Tue, 20 Mar 2012 16:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-12529</guid>
		<description>Hi,
I got it all working in my backend (created custom taxonomy drop down, saves, updates etc), but is there any possibility to use the custom taxonomies on my front-end form?

I use a custom made front-end form. How can i display the custom made taxonomy dropdown there and be save the data once the user sends the form? Is there any code or source i can use for this?

thnx!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I got it all working in my backend (created custom taxonomy drop down, saves, updates etc), but is there any possibility to use the custom taxonomies on my front-end form?</p>
<p>I use a custom made front-end form. How can i display the custom made taxonomy dropdown there and be save the data once the user sends the form? Is there any code or source i can use for this?</p>
<p>thnx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ShibaShake</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-12273</link>
		<dc:creator>ShibaShake</dc:creator>
		<pubDate>Sat, 10 Mar 2012 09:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-12273</guid>
		<description>Try -
&lt;pre lang=&quot;PHP&quot;&gt;
&lt;select name=&#039;post_theme[]&#039; id=&#039;post_theme&#039; multiple&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Try -</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>select name<span style="color: #339933;">=</span><span style="color: #0000ff;">'post_theme[]'</span> id<span style="color: #339933;">=</span><span style="color: #0000ff;">'post_theme'</span> multiple<span style="color: #339933;">&gt;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://shibashake.com/wordpress-theme/wordpress-custom-taxonomy-input-panels#comment-12267</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 10 Mar 2012 03:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?page_id=424#comment-12267</guid>
		<description>Thanks for the tutorial. One question, can I allow multiple selection using:
&lt;select multiple =&#039;multiple&#039;...
I get the expected result visually, but as expected only the last value is saved. Is there a way to extend the save_taxonomy_data function to hold multiple ie array of values.
Thanks again,
John</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. One question, can I allow multiple selection using:<br />
&lt;select multiple =&#039;multiple&#039;&#8230;<br />
I get the expected result visually, but as expected only the last value is saved. Is there a way to extend the save_taxonomy_data function to hold multiple ie array of values.<br />
Thanks again,<br />
John</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 23/29 queries in 0.187 seconds using disk: basic
Object Caching 558/570 objects using disk: basic

Served from: shibashake.com @ 2012-05-11 00:02:10 -->
