Hey guys, is there anyway you could help me how can I pull listing info from either hivepress API or Wordpress api, I saw a previous topic about this but that snippet doesn’t seem to work anymore so Hivepress listings don’t appear in the WP Posts rest api.
Currently, this is only possible through the WP REST API. Listing is a custom post type hp_listing. If necessary, you can enable show_in_rest for the post type.
Please try this PHP code snippet to manage the hp_listing post type parameters. For example, it is possible to add a show_in_rest parameter to this post type in this way. Also, this article could be helpful for you Adding REST API Support For Custom Content Types | REST API Handbook | WordPress Developer Resources. But please note that it can require further advanced customization. If you are not familiar with the code customization, then please consider hiring someone for custom work https://fvrr.co/32e7LvY
Thank you so much this works well, one more question, is there any chance to get other listing informations such as vendor, price and other attributes?
Are you planning to extend your Rest API in the near future, to have better access for all of this?