Title: Version Control Your Content
Author: Haris Amjed
Published: <strong>6 april 2025</strong>
Last modified: 6 april 2025

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://ps.w.org/version-control-your-content/assets/icon-256x256.png?rev=3267365)

# Version Control Your Content

 Door [Haris Amjed](https://profiles.wordpress.org/harisamjed/)

[Download](https://downloads.wordpress.org/plugin/version-control-your-content.1.0.0.zip)

 * [Details](https://nl.wordpress.org/plugins/version-control-your-content/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/version-control-your-content/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/version-control-your-content/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/version-control-your-content/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/version-control-your-content/)

## Beschrijving

The Version Control Your Content plugin provides an alternative to the native WP
[Revisions](https://wordpress.org/documentation/article/revisions/) feature using
Git services.

#### Requirements

 * A GitHub account. If you don’t have one, you can create one [here](https://github.com/join).
 * A GitHub private repository. If you don’t have one, you can create one [here](https://github.com/new).
 * (Optional but highly recommended) A GitHub fine-grained personal access token.
   If you don’t have one, you can create one [here](https://github.com/settings/tokens/new).

This plugin provides an option for version control in the following places for now:

 1. Block Editor (Gutenberg)
 2. Classic Editor
 3. Additional CSS in the Customizer
 4. Default Settings pages in WP Admin

On all supported pages, you will see a “Version Control” box, and you can activate
or deactivate it for that page. It will also show you the real-time GitHub API usage
in the top admin bar.

This solution will put minimal load on your server because there will be no database
entries, no complex SQL operations, and only simple JavaScript-based API calls to
external Git services.

#### How it works behind the scenes?

 1. When you submit any HTML form, such as saving a post, it captures the form data
    via JavaScript before sending it to the server backend.
 2. It sanitizes the data and converts it to JSON format (if needed).
 3. It sends that JSON or HTML data to your Git repository via a commit.
 4. In this way, all your changes will be new commits in your Git repo in related JSON
    or HTML files.
 5. In the commits box, a list of all commits will be shown. It will also provide an
    option to view the changes or revert to that version.

#### Planned Upcoming Features

Currently, I have developed it for three views as described above, and the following
features will be added in the future:

 * Integration with page builders like Elementor, Divi, Beaver Builder, WPBakery,
   etc.
 * Integration with WooCommerce
 * Integration with BuddyPress
 * Integration with bbPress
 * Integration with WPML, etc.

## Schermafbeeldingen

 * [[
 * Version Control in Block Editor
 * [[
 * Version Control in Classic Editor
 * [[
 * Version Control in Customizer’s Additional CSS
 * [[
 * Version Control in Customizer’s Settings pages
 * [[
 * Add a new connection page
 * [[
 * Add new Connection form
 * [[
 * Connections display page
 * [[
 * GitHub API usage quota
 * [[
 * Add GitHub fine-grained personal access token
 * [[
 * Commit box as popup

## Installatie

 1. Upload the plugin ZIP file and search for it on the “Add New Plugin” page.
 2. Activate the plugin through the **Plugins** screen (**Plugins > Installed Plugins**).
 3. Go to the “Version Control” page in WP Admin.
 4. Add a new connection and activate it.
 5. “Version Control” boxes will appear in the post editor, Additional CSS, and Settings
    pages.
 6. A new version will be created every time you press the save/submit button.

## FAQ

### What is version control?

Version control is a system that allows you to track changes to your content over
time. It enables you to revert to previous versions of your content and compare 
changes between different versions.

### Is it free to use?

Yes, it is free to use. GitHub has been offering free private repositories since
Jan 2019, but with some limitations. I think the current offering will work for 
most small to medium websites. You can upgrade to an Enterprise plan on GitHub if
you max out the free plan.

### What is its use in settings pages?

As per my experience, website owners change site titles, taglines, and other details
every now and then for SEO reasons or otherwise. Currently, it is a manual process
to keep track of all these changes, perhaps in an external spreadsheet or document.
With this plugin, all your history will be maintained automatically with date and
time.

### How is this plugin different from activity monitor plugins?

This plugin is different from many available activity logging or monitoring plugins
in that it won’t add anything to your database, so it should not create any performance
issues. Instead, it will just send logs to your secure private Git repository.

### Is this plugin a replacement for backup plugins/systems?

No, it is not intended to replace any backup plugin or backup system. It just provides
a history of all the changes you made to your content.

### Are there any limitations of GitHub API?

GitHub API has a limit of 5000 requests per hour. The maximum repository size limit
is 1GB. I think that should be enough for most websites.

### What about other Git services like Bitbucket or GitLab?

This plugin is currently using the GitHub API. However, it is designed to be extended
to other Git services like Bitbucket or GitLab in the future.

### Why is a personal access token better than the VCYC OAuth App?

A personal access token is better because you have full control over what you want
to share from your account. You can give access to only a single repository to test
this version control plugin.

### My repository is not showing up in the list?

This plugin works for private repositories only since I see no reason to share your
content with the public.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Version Control Your Content” is open source software. De volgende personen hebben
bijgedragen aan deze plugin.

Bijdragers

 *   [ Haris Amjed ](https://profiles.wordpress.org/harisamjed/)

[Vertaal “Version Control Your Content” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/version-control-your-content)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/version-control-your-content/),
haal de [SVN repository](https://plugins.svn.wordpress.org/version-control-your-content/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/version-control-your-content/)
via [RSS](https://plugins.trac.wordpress.org/log/version-control-your-content/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Versie **1.0.0**
 *  Laatst geüpdatet **1 jaar geleden**
 *  Actieve installaties **Minder dan 10**
 *  WordPress versie ** 5.6 of nieuwer **
 *  Getest t/m **6.7.5**
 *  PHP versie ** 7.2 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/version-control-your-content/)
 * Tags
 * [git](https://nl.wordpress.org/plugins/tags/git/)[Github](https://nl.wordpress.org/plugins/tags/github/)
   [version control](https://nl.wordpress.org/plugins/tags/version-control/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/version-control-your-content/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Your review](https://wordpress.org/support/plugin/version-control-your-content/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/version-control-your-content/reviews/)

## Bijdragers

 *   [ Haris Amjed ](https://profiles.wordpress.org/harisamjed/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/version-control-your-content/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://buymeacoffee.com/harisamjed/)