[wp-hackers] how to query all posts from post type and some posts from another post type?

Konrad Karpieszuk kkarpieszuk at gmail.com
Mon May 7 10:53:38 UTC 2012


hello

I have to query posts (jn main loop) from two post types:
- 'post' (regular post type from wordpress) but only those, which have
'fdp' category
- 'fdp-post' (post type created by me) with any category

and i really dont know how to do this :) both conditions should
produce on list of posts arranged by date

--
(en) regards / (pl) pozdrawiam
Konrad Karpieszuk
http://tradematik.pl wtyczka do WordPressa do tworzenia sklepów dla
klientów z Polski


More information about the wp-hackers mailing list