Viewing 1 replies (of 1 total)
  • Plugin Contributor jpowersdev

    (@jpowersdev)

    Hi @kandalf,

    If you are able to search just by the slug (instead of requiring the entire URL), you can do something like sitename.com/wp-json/wp/v2/POST_TYPE?slug=post-slug.

    So in this case, it would be sitename.com/wp-json/wp/v2/listing?slug=my-element.

    Let me know if that helps,
    Jon

Viewing 1 replies (of 1 total)
  • The topic ‘Search element by url’ is closed to new replies.