Send posts from Wordpress sites partners to my site

Asked

Viewed 88 times

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

1 answer

0

There is a table in the database that stores the posts (I don’t remember the table name, but I think it’s somePosts). Just pass this data to another bank...

  • 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.

  • you use phpMyAdmin?

  • Yes, use phpMyAdmin

  • 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.

  • 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.

  • 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..

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.