[wp-hackers] 'request' filter for adding custom post types to blog indexes

Krusty Ruffle krustyruffle at rustykruffle.com
Wed Aug 11 22:33:24 UTC 2010


After minimal testing it seems to be working pretty good. I have not tested
it with multiple loops, widgets that list posts or mare than one custom post
type yet though.

The request filter seem to pass a different array for every possible page so
I'm thinking that a creative person could do some really interesting things
things with it, especially if they were to test values instead of just
element existence. I'm hoping to get some more testing done on this and try
to get it documented somewhere but I've got a few things eating up my time
for a couple of days so I'm not sure about that, but I will post about any
problems I run into while testing it out.

On Wed, Aug 11, 2010 at 5:03 PM, Angelia Baladon
<angelia at 10sexyapples.com>wrote:

> Krusty - if this tests successful for you, can you report back here on it?
> I
> have been trying for weeks now to get a best practices/working example of
> how to add custom post types in this way ( just the author and year for me
> though ) and haven't been successful. Check the pre_get_posts problem topic
> if you're interested in what hasn't worked to date~ ... Perhaps I wasn't
> asking the right way? I'm going to test this out as well and will also
> report back on it. If this tests out, it sure will be nice to finally put
> this to rest~
>

I have followed that topic, as well as just about everything that has to do
with custom post types. I'm beginning to believe that WordPress will finally
be able to do everything I've been trying to do for the last couple of years
and maybe I'll finally start doing something with all those websites I've
been paying for!


More information about the wp-hackers mailing list