0
Good night.
I need to develop a Wordpress plugin that works by taking the post posted on the site where the plugin is installed (which is from a partner site that provides content) and sending the post fields (title, featured image, author, content, tags...) to another Wordpress site, in another provider/database, which will be used to power a mobile application. Is there a way to do this? Is there already a plugin or function that does something similar or I have to start from scratch? Develop a plugin to do this is the best solution, or there are other?
Thank you,
Mey
And is it simple to do this? Sorry ignorance, but it’s the first time I’m going to do this, and I’m learning php now.
– Mey Torres
you use phpMyAdmin?
– Fernando Rangel
Yes, use phpMyAdmin
– Mey Torres
see if you find this table posts, then open it and click on the "export" tab, then it will download the file . sql with all data from your table.
– Fernando Rangel
I understood, but in my case, I don’t have direct access to the database where the posts were created, as they are from other partner sites that will provide the content for my application. That’s why I needed a plugin that these partners would install and, every time they published a new post, it would go to my database. My question is what would be the best way to do this, whether it is creating a plugin, or widget. Or if there is already a plugin that already does this. And what method/function I have to use to do this.
– Mey Torres
I do not know if there are plugins, I advise you to search.. , if you don’t think so, there is the possibility that they can make a page that provides the post information (e.g., posts.php) and you can access this page, take the information and record it in your database..
– Fernando Rangel