GitHub is a project hosting service used by many open source projects and developers. As a WordPress user, sometimes you may come across plugins or themes hosted on GitHub. Since GitHub is not specific to WordPress development, it may be difficult for a new user to figure out how to download and install a plugin or theme from GitHub. In this article, we will show you how to install WordPress plugins or themes from GitHub.
If you don’t like the video or need more instructions, then continue reading.
What is GitHub?
As we mentioned earlier that GitHub is a code hosting service. It is free to use for open source projects, and currently it is the most popular project hosting service among open source developers. It uses Git revision control system, hence the name GitHub. Not only it provides easy tools for collaboration, GitHub also offers social networking features such as following users, giving repositories stars, subscribing to repositories and projects, etc.
Github can be used on any kind of projects that want to utilize Git revision control features. For example, Open Source learning resources, documentation projects, manuals, guidebooks, etc. GitHub’s tools allow users to add other users to their projects and work with in teams.
Downloading and Installing WordPress Plugins and Themes From GitHub
Before you install a WordPress theme or plugin from GitHub, make sure that you are able to receive updates for it. We will cover that part later in this article.
Installing plugins and themes from GitHub is super easy. It is just like installing a WordPress plugin manually. First go to the plugin / theme’s repository on GitHub. On the main page of the repository, in the right sidebar you will see Download ZIP button.
Once you have downloaded the ZIP file. Login to your WordPress admin area and go to Plugins » Add New. You will need to manually upload the plugin from your computer. To do that click on the upload tab.
Select the ZIP file from your computer and click on the Install Now button. WordPress will now upload the zip archive from your computer to your website, unzip it, and install the plugin for you. Once it is done you will see a success message. You can then click on Activate Plugin link to activate the plugin on your site.
How to Get Updates for WordPress Plugins Installed From GitHub?
By default, WordPress looks for a newer version of the plugin based on a plugin’s read me file and plugin header which contains the information about the latest stable version to use. However, WordPress does not show automatic updates for plugins downloaded from GitHub by default. To enable users to automatically receive updates directly from GitHub repositories, theme and plugin developers need to make a little extra effort.
To achieve this some plugins and themes from GitHub may already have included the code which will enable you to receive automatic updates.
In some cases the theme / plugin developer may ask you to install GitHub Updater plugin. Which will enable you to get updates for GitHub plugins and themes utilizing this method.
In either case, you will have to contact the plugin/theme developer on GitHub and ask them about the updates situation to be sure about receiving updates when they release a new version.