<?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: Expand Your &#8220;Edit Category&#8221; Admin Panel	</title>
	<atom:link href="https://www.shibashake.com/wp/expand-the-edit-category-admin-panel/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Tue, 11 Jan 2022 00:42:57 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-5208</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 04:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-5208</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-5202&quot;&gt;R&#039;phael Spindel&lt;/a&gt;.

Thanks R’phael .

These functions are indeed very useful and I have written about them in &lt;a href=&quot;http://shibashake.com/wordpress-theme/add-term-or-taxonomy-meta-data&quot; rel=&quot;nofollow&quot;&gt;Add Term and Taxonomy MetaData&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-5202">R&#8217;phael Spindel</a>.</p>
<p>Thanks R’phael .</p>
<p>These functions are indeed very useful and I have written about them in <a href="http://shibashake.com/wordpress-theme/add-term-or-taxonomy-meta-data" rel="nofollow">Add Term and Taxonomy MetaData</a>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: R'phael Spindel		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-5202</link>

		<dc:creator><![CDATA[R'phael Spindel]]></dc:creator>
		<pubDate>Thu, 23 Jun 2011 00:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-5202</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1040&quot;&gt;ShibaShake&lt;/a&gt;.

Well, its been a while since I revisited this topic!  But, here is new information regarding this for more recent (2.9+) releases of WP.

Along with the variable hooks: 
created_{taxonomy}
edited_{taxonomy}  (ie: edited_category or created_category )

Taxonomy meta data is also now handled with core functions: 

add_metadata()
update_metadata()
get_metadata()

however, unless its the standard &#039;Category&#039; taxonomy, additional tables will have to be created to store the data from the new functions 

http://codex.wordpress.org/Function_Reference/add_metadata#Database_Requirements

With these functions and hooks, WP devs now have the capability to expand the edit category admin panel with core supported functions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1040">ShibaShake</a>.</p>
<p>Well, its been a while since I revisited this topic!  But, here is new information regarding this for more recent (2.9+) releases of WP.</p>
<p>Along with the variable hooks:<br />
created_{taxonomy}<br />
edited_{taxonomy}  (ie: edited_category or created_category )</p>
<p>Taxonomy meta data is also now handled with core functions: </p>
<p>add_metadata()<br />
update_metadata()<br />
get_metadata()</p>
<p>however, unless its the standard &#8216;Category&#8217; taxonomy, additional tables will have to be created to store the data from the new functions </p>
<p><a href="http://codex.wordpress.org/Function_Reference/add_metadata#Database_Requirements" rel="nofollow ugc">http://codex.wordpress.org/Function_Reference/add_metadata#Database_Requirements</a></p>
<p>With these functions and hooks, WP devs now have the capability to expand the edit category admin panel with core supported functions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1040</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Sun, 07 Feb 2010 04:51:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-1040</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1038&quot;&gt;R&#039;phael Spindel&lt;/a&gt;.

Thanks for the great information. I have expanded the article, and I think it is more accurate now. 

I still cannot see a good way to inject data into the &lt;strong&gt;wp_update_term&lt;/strong&gt; database calls though. If you know of a good way, please let me know so that I can further improve the article.

Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1038">R&#8217;phael Spindel</a>.</p>
<p>Thanks for the great information. I have expanded the article, and I think it is more accurate now. </p>
<p>I still cannot see a good way to inject data into the <strong>wp_update_term</strong> database calls though. If you know of a good way, please let me know so that I can further improve the article.</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: R'phael Spindel		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-1038</link>

		<dc:creator><![CDATA[R'phael Spindel]]></dc:creator>
		<pubDate>Sat, 06 Feb 2010 23:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-1038</guid>

					<description><![CDATA[The hook to use when saving a category was called &#039;category_edit&#039; and in WP 2.3 it was changed to a variable hook called &#039;edit_{$taxonomy}&#039;  so for catching the form fields sent from the Category edit admin screen, the hook to use is &#039;edit_category&#039;.  You can do away with all the messy onChange javascript events and storing values in the category_description field.]]></description>
			<content:encoded><![CDATA[<p>The hook to use when saving a category was called &#8216;category_edit&#8217; and in WP 2.3 it was changed to a variable hook called &#8216;edit_{$taxonomy}&#8217;  so for catching the form fields sent from the Category edit admin screen, the hook to use is &#8216;edit_category&#8217;.  You can do away with all the messy onChange javascript events and storing values in the category_description field.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-188</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Mon, 19 Oct 2009 02:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-188</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-184&quot;&gt;pax&lt;/a&gt;.

What you describe is definitely do-able -

You can go in and change the source file, but that generally isn&#039;t a good solution because you will lose all changes whenever you update WordPress.

A better way is to add your new category interface using the add_meta_box command, and possibly remove the old category interface with the remove_meta_box command (??never used remove_meta_box before so don&#039;t know for sure). 

To create your new interface function, look at the source file -
wp-admin/edit-form-advanced.php

There should be a function in there called -
post_categories_meta_box

This is what wp calls to render its existing category box. Just copy that code and alter it in your own file to create the interface that you want. Then add it into the Edit post interface using add_meta_box.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-184">pax</a>.</p>
<p>What you describe is definitely do-able &#8211;</p>
<p>You can go in and change the source file, but that generally isn&#8217;t a good solution because you will lose all changes whenever you update WordPress.</p>
<p>A better way is to add your new category interface using the add_meta_box command, and possibly remove the old category interface with the remove_meta_box command (??never used remove_meta_box before so don&#8217;t know for sure). </p>
<p>To create your new interface function, look at the source file &#8211;<br />
wp-admin/edit-form-advanced.php</p>
<p>There should be a function in there called &#8211;<br />
post_categories_meta_box</p>
<p>This is what wp calls to render its existing category box. Just copy that code and alter it in your own file to create the interface that you want. Then add it into the Edit post interface using add_meta_box.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-186</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Mon, 19 Oct 2009 02:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-186</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-183&quot;&gt;pax&lt;/a&gt;.

Hi Pax,
The code looks right to me - so I am not sure why it is not working. I just pasted the same code into the functions.php file of my &#039;default&#039; theme, activated it, and the drop-down menu does appear for me in the &quot;Edit Category&quot; screen, right above the Update Category button.

It will only show in the full Edit Category screen though - not on the Add Category, Quick Edit, or other related screens. 

Do you get any error messages? You may want to just do an echo in the your_input_box function and then visit the &quot;Edit Category&quot; source page to see if the echo comes through.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-183">pax</a>.</p>
<p>Hi Pax,<br />
The code looks right to me &#8211; so I am not sure why it is not working. I just pasted the same code into the functions.php file of my &#8216;default&#8217; theme, activated it, and the drop-down menu does appear for me in the &#8220;Edit Category&#8221; screen, right above the Update Category button.</p>
<p>It will only show in the full Edit Category screen though &#8211; not on the Add Category, Quick Edit, or other related screens. </p>
<p>Do you get any error messages? You may want to just do an echo in the your_input_box function and then visit the &#8220;Edit Category&#8221; source page to see if the echo comes through.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: pax		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-184</link>

		<dc:creator><![CDATA[pax]]></dc:creator>
		<pubDate>Sun, 18 Oct 2009 21:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-184</guid>

					<description><![CDATA[Ahh my bad, I mean, I was looking at the add &#038; edit category pages.

_________
PS. As you get around well with WP admin hacks, is there a easy way to get around this: http&#058;//stackoverflow.com/questions/1552307/pseudo-custom-taxonomies-from-categories [reasons explained over stack overflow]


10x,
alex]]></description>
			<content:encoded><![CDATA[<p>Ahh my bad, I mean, I was looking at the add &amp; edit category pages.</p>
<p>_________<br />
PS. As you get around well with WP admin hacks, is there a easy way to get around this: http&#58;//stackoverflow.com/questions/1552307/pseudo-custom-taxonomies-from-categories [reasons explained over stack overflow]</p>
<p>10x,<br />
alex</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: pax		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-183</link>

		<dc:creator><![CDATA[pax]]></dc:creator>
		<pubDate>Sun, 18 Oct 2009 21:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-183</guid>

					<description><![CDATA[here: http://img269.imageshack.us/img269/6249/shibaprintscreen2.jpg
so I just pasted the first 2 code snippets in your article, at the beginning of functions.php within the Default Theme. 

The I have checked the &#039;Add New Post&#039; page where I couldn&#039;t see any new inputs.
Am I doing things as supposed to? :)]]></description>
			<content:encoded><![CDATA[<p>here: <a href="http://img269.imageshack.us/img269/6249/shibaprintscreen2.jpg" rel="nofollow ugc">http://img269.imageshack.us/img269/6249/shibaprintscreen2.jpg</a><br />
so I just pasted the first 2 code snippets in your article, at the beginning of functions.php within the Default Theme. </p>
<p>The I have checked the &#8216;Add New Post&#8217; page where I couldn&#8217;t see any new inputs.<br />
Am I doing things as supposed to? 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-158</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Mon, 12 Oct 2009 02:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-158</guid>

					<description><![CDATA[In general, you want to keep these intact -
&lt;pre lang=&quot;HTML&quot;&gt;
&lt;tr class=&quot;form-field&quot;&gt;
	&lt;th scope=&quot;row&quot; valign=&quot;top&quot;&gt;
        &lt;label for=&quot;category_theme&quot;&gt;
           &lt;?php _e(&#039;Category Theme&#039;) ?&gt;
        &lt;/label&gt;&lt;/th&gt;
	&lt;td&gt;
&lt;!-- Enter your own stuff here --&gt;
	 &lt;/td&gt;
&lt;/tr&gt;
&lt;/pre&gt;
Can you share some of your code?]]></description>
			<content:encoded><![CDATA[<p>In general, you want to keep these intact &#8211;</p>
<pre lang="HTML">
<tr class="form-field">
	<th scope="row" valign="top">
        <label for="category_theme">
           <?php _e('Category Theme') ?>
        </label></th>
	<td>
<!-- Enter your own stuff here -->
	 </td>
</tr>
</pre>
<p>Can you share some of your code?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: pax		</title>
		<link>https://shibashake.com/wp/expand-the-edit-category-admin-panel/comment-page-1#comment-156</link>

		<dc:creator><![CDATA[pax]]></dc:creator>
		<pubDate>Mon, 12 Oct 2009 00:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.shibashake.com/wordpress-theme/?p=340#comment-156</guid>

					<description><![CDATA[I have followed your steps on a fresh install of WP 2.8.4
but nothing happened in the new/edit post page.]]></description>
			<content:encoded><![CDATA[<p>I have followed your steps on a fresh install of WP 2.8.4<br />
but nothing happened in the new/edit post page.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/73 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-16 06:48:47 by W3 Total Cache
-->