Closed nathanmokh closed 6 years ago
Yeah, the plugin syncs both ways. See here: https://github.com/mAAdhaTTah/wordpress-github-sync#configuring-the-plugin You need to set up the GitHub webhook, and changes in the repo will be reflected in WordPress.
Draft posts not working both ways, updating from git to wordpress.
Not working from wordpress to git
@sivyel I would consider that expected behavior. Anything that's on git I'd consider published on the WordPress side of things.
There is a filter that you can use to enable syncing drafts, but no, drafts don't sync by default.
Can we have any information about that filter ? Do you have any reference ?
The filters are documented in the wiki
I'm a little confused with how the code interacts with Wordpress, is there any way to download content to restore as if we were using the synced repo as a backup? Currently using this plugin and its great, could be better if I don't have to separately back up content.