Description
This plugin adds revisions support for the new Custom CSS post type, which is added in WordPress 4.7. Use this plugin only, if you have already upgraded to WordPress 4.7.
Revisions are like a history for posts, so you can see previous versions of the content. This plugin adds this functionality to the new Custom CSS post type, so you can easily see and reset your previous customizations. This option is disabled by default and this plugin enables it for your website.
Do you want to contribute or help improving this plugin?
You can find it on GitHub: https://github.com/Surbma/surbma-revisions-for-custom-css
You can find my other plugins and projects on GitHub:
Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.
Do you want to know more about me?
Visit my webpage: Surbma.com
Installation
- Upload
surbma-revisions-for-custom-css
folder to the/wp-content/plugins/
directory - Activate the Surbma | Revisions for Custom CSS plugin through the ‘Plugins’ menu in WordPress
- That’s it. 🙂
FAQ
-
What are Revisions?
-
The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision – what was added, what remained unchanged, and what was removed. Lines added or removed are highlighted, and individual character changes get additional highlighting. Click the ‘Restore This Revision’ button to restore a revision.
-
I can not see Revisions. What should I do?
-
Please check your wp-config.php file, if you have disabled revisions globally with this code:
`
define( ‘WP_POST_REVISIONS’, false );
` -
Can I limit the number of revisions?
-
Sure, you can with this code in your wp-config.php file:
`
define( ‘WP_POST_REVISIONS’, 3 );
`You have to know, that this code will limit revisions for all post types, like posts and pages also.
-
What does Surbma mean?
-
It is the reverse version of my last name. 😉
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Surbma | Revisions for Custom CSS” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Surbma | Revisions for Custom CSS” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0
Release date: 2020-02-10
- TWEAK – Tested with WordPress 5.3 version.
- TWEAK – Updated to use a new way to deploy it to wp.org repo.
1.1
Release date: 2019-07-18
NEW
- Added arguments for Custom CSS post type to show in the admin menu. (Not working yet.)
TWEAK
- Minor code changes.
- Simple versioning.
- Shorter function prefixes.
1.0.0
- Initial release.