Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You need the IDs of all categories you want returned. Then do something like
    example.com/wp-json/wp/v2/posts?categories=23,34,45

    What are “thumbirs”? If they are meta values, the specific meta name needs to be explicitly exposed to the API with register_meta().

Viewing 1 replies (of 1 total)
  • The topic ‘WP JSON – how to add related posts with thumbir to endpoint?’ is closed to new replies.