<?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"
	>
<channel>
	<title>Comments on: Custom filtering in the WordPress Manage Posts screen</title>
	<atom:link href="http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen/feed" rel="self" type="application/rss+xml" />
	<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen</link>
	<description>The website of Edward Dale</description>
	<pubDate>Thu, 28 Aug 2008 01:40:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Edward Dale</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2192</link>
		<dc:creator>Edward Dale</dc:creator>
		<pubDate>Thu, 08 May 2008 09:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2192</guid>
		<description>Thanks John, glad you like it!

To filter based on custom field, you'll still have to use the &lt;code&gt;posts_where&lt;/code&gt; hook, in addition to &lt;code&gt;posts_join&lt;/code&gt;.  You'll need to join with the postsmeta table on the post ID and the custom field name.  The &lt;a href="http://wordpress.org/extend/plugins/search-everything/" rel="nofollow"&gt;Search Everything&lt;/a&gt; plugin has code that provides searching in metadata that might be enlightening.</description>
		<content:encoded><![CDATA[<p>Thanks John, glad you like it!</p>
<p>To filter based on custom field, you&#8217;ll still have to use the <code>posts_where</code> hook, in addition to <code>posts_join</code>.  You&#8217;ll need to join with the postsmeta table on the post ID and the custom field name.  The <a href="http://wordpress.org/extend/plugins/search-everything/" rel="nofollow">Search Everything</a> plugin has code that provides searching in metadata that might be enlightening.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Kolbert</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2173</link>
		<dc:creator>John Kolbert</dc:creator>
		<pubDate>Thu, 08 May 2008 04:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2173</guid>
		<description>Sorry for the double comment. To clarify my last comment, I mean something like: only show posts that contain a certain custom field?

Great tutorials, by the way! I enjoy your site very much!</description>
		<content:encoded><![CDATA[<p>Sorry for the double comment. To clarify my last comment, I mean something like: only show posts that contain a certain custom field?</p>
<p>Great tutorials, by the way! I enjoy your site very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Kolbert</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2168</link>
		<dc:creator>John Kolbert</dc:creator>
		<pubDate>Thu, 08 May 2008 03:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-2168</guid>
		<description>How would you change this so you can filter posts based on custom fields?</description>
		<content:encoded><![CDATA[<p>How would you change this so you can filter posts based on custom fields?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edward Dale</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1811</link>
		<dc:creator>Edward Dale</dc:creator>
		<pubDate>Sat, 03 May 2008 06:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1811</guid>
		<description>Yep, I noticed that last week when I finally got around to installing 2.5.  I've started something and will hopefully publish it in the next few days.  Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Yep, I noticed that last week when I finally got around to installing 2.5.  I&#8217;ve started something and will hopefully publish it in the next few days.  Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1809</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Sat, 03 May 2008 05:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1809</guid>
		<description>Great series and will be useful for plugin authors! An update would be good for this particular post as WordPress 2.5 changed the location of the &lt;code&gt;restrict_manage_posts&lt;/code&gt; action to back inside the form so there is no need for adding your own (and when set up correctly you can also filter in combination with the other filters).  For an example you can look at my plugin which uses it (and incidentally falls back to the old method for 2.3.x installs).</description>
		<content:encoded><![CDATA[<p>Great series and will be useful for plugin authors! An update would be good for this particular post as WordPress 2.5 changed the location of the <code>restrict_manage_posts</code> action to back inside the form so there is no need for adding your own (and when set up correctly you can also filter in combination with the other filters).  For an example you can look at my plugin which uses it (and incidentally falls back to the old method for 2.3.x installs).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scompt</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1278</link>
		<dc:creator>scompt</dc:creator>
		<pubDate>Tue, 26 Feb 2008 13:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1278</guid>
		<description>You'll somehow need to change the query.  Whether you do it with &lt;code&gt;posts_where&lt;/code&gt; or with one of the hooks described on the Codex (&lt;a href="http://codex.wordpress.org/Query_Overview" rel="nofollow"&gt;here&lt;/a&gt; and &lt;a href="http://codex.wordpress.org/Custom_Queries" rel="nofollow"&gt;here&lt;/a&gt;) shouldn't matter.</description>
		<content:encoded><![CDATA[<p>You&#8217;ll somehow need to change the query.  Whether you do it with <code>posts_where</code> or with one of the hooks described on the Codex (<a href="http://codex.wordpress.org/Query_Overview" rel="nofollow">here</a> and <a href="http://codex.wordpress.org/Custom_Queries" rel="nofollow">here</a>) shouldn&#8217;t matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugh Todd</title>
		<link>http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1275</link>
		<dc:creator>Hugh Todd</dc:creator>
		<pubDate>Mon, 25 Feb 2008 22:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://scompt.com/archives/2008/02/25/custom-filtering-in-the-wordpress-manage-posts-screen#comment-1275</guid>
		<description>Edward, this is great.

If, instead, you wanted to use a search field (assuming that the custom column contained custom strings), would you still use "posts_where"?</description>
		<content:encoded><![CDATA[<p>Edward, this is great.</p>
<p>If, instead, you wanted to use a search field (assuming that the custom column contained custom strings), would you still use &#8220;posts_where&#8221;?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
