Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Ignores post types with 'public' => fase, 'has_archive' => true #13
I see that the plugin queries public not-built-in post types. However, in my current project, I'm using a private post type that will have an archive. (I don't think it's too hard to think of relevant use-cases for this: Anything where individual posts don't warrant a webpage but listing them all together does. Using
I see a lot of possible solutions but I'm not sure which is best:
I would lean toward option 3 (and maybe pass the
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Ok. Looks like I spoke a little too soon. WordPress can't make a post type archive with public => false. So my use case isn't workable and I need to find another way to handle it.
However, I'll leave this open as I still think it might be worthwhile to let the
That's the thought. I think the has_archive must be true for the plugin to
On Tue, Jun 25, 2013 at 5:17 PM, Stephen Harris firstname.lastname@example.org: