Topic: Pull all cpts on Author page | WP Masonry Layout

Pull all cpts on Author page

Home Forums Pro Version Pull all cpts on Author page

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 2 weeks, 3 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20824 Reply

    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?

    Thanks,

    Adam

    #20830 Reply

    Masonry Guy
    Keymaster

    Hi Adam,

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

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Pull all cpts on Author page
Your information: