API guide for adding a listing - sovware/directorist GitHub Wiki

Instructions:

  • Directorist stores the listing's data in the default post and postmeta table.
  • Subscriber can publish a listing
  • Currently it has no API to submit a listing
  • You can create an API to insert posts in the custom post type at_biz_dir

An example of a basic listing with a title and description

image

  • According to your directory builder form fields you can pass other arguments like text_query or meta_query

This should make the instructions clearer and more visually appealing. If you need further assistance, feel free to ask!