Skip to content

get_author_posts return 0 posts #43

@raffaelecolleo

Description

@raffaelecolleo

Hi,
I am trying to get a specific user custom posts using https://www.domain.com/api/get_author_posts?id=12345&post_type=my-custom-type" but returns 0 posts.
But if I log in and past the link onto chrome it works.
Do I have to do something before asking for the posts?

I am trying to get the custom posts outside de domain using jquery and using JSON API User Plus.

Any Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions