[wp-hackers] do I need to register custom post_status-es?
tim.moore at maine.edu
Fri Mar 26 12:12:31 UTC 2010
I think you are using the wrong post_status value. Looking at
http://codex.wordpress.org/Post_Status_Transitions, I'm seeing the following
as built-in post_status's:
Perhaps changing post_status=active to post_status=publish or
post_status=inactive to post_status=draft would help.
On Fri, Mar 26, 2010 at 7:44 AM, Davit Barbakadze <jayarjo at gmail.com> wrote:
> Hi Mike,
> Thanks, but I do not actually use or need to use either meta_value or
> meta_key. I just can't filter my custom type posts, by custom
> post_status fields.
> On Wed, Mar 24, 2010 at 9:28 PM, Mike Schinkel
> <mikeschinkel at newclarity.net> wrote:
> > Davit:
> > On Mar 24, 2010, at 7:29 AM, Davit Barbakadze wrote:
> >> I'm using the following code to retrieve custom post_type-es:
> >> $wp_query = new
> >> Quoted line resolves for example to:
> >> post_type=event&post_status=active&posts_per_page=15&paged=1 (string
> >> has been printed out not just made up).
More information about the wp-hackers