My client is using an old classipress version, here's a github repo I found but what he's using is much older. Running the latest Wordpress version. Here's Functions.php.
He'd like to create a mobile app, so I need to create an API. The theme does not have an api and wordpress api does not work with it, AD posts are not wordpress posts, every ad you post in the theme is specific for the theme. So if you go to wp-api you don't see anything related to ads.
Is it possible to create endpoints for such a theme? Can you show a small example how please? If there an alternative solution? Or do we have to recreate the website and design the API?