• Resolved snoopje

    (@snoopje)


    I implemented the WP REST API Controller and I see and can configure a bunch of custom posts and get reliable results.
    BUT one of it delivers just an empty JSON array [] even if there are custom posts containing content?!

    TIA for any hint

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @snoopje,

    Can you give me some more information about the custom post type? Is it coming from a plugin or something you’ve created yourself? What URL are you hitting to see the data? Is there anything you know of that’s different about this custom post type compared to the other ones you can successfully access? Is it possible for me to load up this CPT and test it out locally?

    Let me know,
    Kevin.

    Thread Starter snoopje

    (@snoopje)

    Hi Kevin,
    THX for taking my request.
    It’s from a 3rd party Plugin from motocross.
    The URL is https://preview.adelfors.com/wp-json/wp/v2/booking.
    There are some more CPT’s from motocross which are working without problems.

    I don’t know how to upload the CPT , but to make things easy I’ll trust you and can and send you the URL + credentials via PM, e.g. [email protected], if you want me to do so ?

    TIA
    $regs ray

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @snoopje,

    I’ll download the plugin and test it out locally first. If I can’t reproduce your issue, we can discuss further steps via email.

    Whoops – I didn’t realize it was a paid plugin. Please email me at [email protected].

    Cheers,
    Kevin.

    • This reply was modified 7 years, 7 months ago by yikesitskevin.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get custom post gives empty array ?!’ is closed to new replies.