Banner for Wp Github Sync
A WordPress plugin to sync content with a GitHub repository (or Jekyll site) Wordpress Tutorial
Noted That:
  • To install correctly this wp-github-sync.zip .
  • Fisrt Download the wp-github-sync.zip to your computer
  • Extract/Open wp-github-sync.zip to Your Computer.
  • Then, Find readme.txt file inside wp-github-sync.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " wp-github-sync.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Wp Github Sync

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Wp Github Sync

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Wp Github Sync

Step-5 : Now, Browse " wp-github-sync.zip " Downloaded plugin from your computer, Where you downloaded " wp-github-sync.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Wp Github Sync

Step-6 : Now, Click on " Active Plugin "

Activate Wp Github Sync

Step-7 : Then, See left Side Menu. " Wp Github Sync " folder is added on left Side Menu. Now, Click on " Wp Github Sync " folder.

Noted that: If you do not see " Wp Github Sync " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Wp Github Sync Configurations and Settings or How to work " Wp Github Sync " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WordPress GitHub Sync " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WordPress GitHub Sync
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Using the WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘WordPress GitHub Sync’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Download wordpress-github-sync.zip from the WordPress plugins repository.
  2. Navigate to the ‘Add New’ in the plugins dashboard
  3. Navigate to the ‘Upload’ area
  4. Select wordpress-github-sync.zip from your computer
  5. Click ‘Install Now’
  6. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download wordpress-github-sync.zip
  2. Extract the wordpress-github-sync directory to your computer
  3. Upload the wordpress-github-sync directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

Installing from Source

Install the plugin and activate it via WordPress’s plugin settings page.

  1. cd wp-content/plugins
  2. git clone https://github.com/benbalter/wordpress-github-sync.git
  3. cd wordpress-github-sync && composer install
  4. Activate the plugin in WordPress’ Dashboard > Plugins > Installed Plugins

Configuring the plugin

  1. Create a personal oauth token with the public_repo scope. If you’d prefer not to use your account, you can create another GitHub account for this.
  2. Configure your GitHub host, repository, secret (defined in the next step), and OAuth Token on the WordPress GitHub sync settings page within WordPress’s administrative interface. Make sure the repository has an initial commit or the export will fail.
  3. Create a WebHook within your repository with the provided callback URL and callback secret, using application/json as the content type. To set up a webhook on GitHub, head over to the Settings page of your repository, and click on Webhooks & services . After that, click on Add webhook .
  4. Click Export to GitHub or if you use WP-CLI, run wp wpghs export all === from the command line, where === = the user ID you’d like to commit as.

Name