- June 27, 2018 at 11:19 pm #20824Adam ThompsonGuest
So I have 5 different custom post types. I want to pull all of the posts by a particular user on their author page.
I added a generic shortcode to the author page and it’s only pulling ‘post’ post_types. I’ve tried adding into the shortcode post_type=’post’,news,research,etc’… I’ve tried using jQuery to alter the json in the load more button… I’ve tried breaking the default author page loop and starting a new WP_Query… I feel like I’ve tried it all and I can’t get a shortcode to pull all posts from all post types on a user’s author page.
Has anyone had this same issue?
AdamJune 28, 2018 at 4:48 pm #20830Masonry GuyKeymaster
When you use generic shortcode, it doesn’t take any custom query. So you can’t use generic shortcode in such case.