Pull all cpts on Author page

Home Forums Pro Version Pull all cpts on Author page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20824
    Adam Thompson

    Hey guys,

    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?



    Masonry Guy

    Hi Adam,

    When you use generic shortcode, it doesn’t take any custom query. So you can’t use generic shortcode in such case.


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Pro Version’ is closed to new topics and replies.