Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘[Resolved] Query for custom post typesin "postsbyuser"’ is closed to new replies.
Hi again guys 🙂
I’m trying to query custom post types in [userpro template=postsbyuser].
In postbyuser.php I see
<?php if ($post_query->have_posts() ) { ?>
but I’m not sure where the query is made?
Thanks!
//Jens
Found the answer myself in the documentation.
Just added postsbyuser_types=any 🙂
postsbyuser_types=any
postsbyuser_types=product
postsbyuser_types=post,product
postsbyuser_types=portfolio,custom_post
All are valid samples 🙂
Thanks!
The topic ‘[Resolved] Query for custom post typesin "postsbyuser"’ is closed to new replies.