官术网_书友最值得收藏!

Working with post revisions

Apart from many content formatting features, WordPress also allows some basic version control for your posts. What this means is that WordPress keeps every subversion of your every post. Or in plain English, every time you press the Update button, instead of overwriting the previous version of your post, WordPress creates a completely new one. Although this feature doesn't seem like the most useful one at first, it's actually very important for sites where the content is managed by more than one person. In such a scenario, it's easy to get the newest versions of the posts mixed up, so it's always good to have the possibility to return to the previous one.

To take full advantage of this functionality, what you need to do first is enable Revisions in the upper slide-down Screen Options menu on the post editing screen. Once you do so, a small box titled Revisions will appear at the bottom of the screen:

If you click on any of the links displayed inside this box, you will be taken to a page where you can compare individual revisions, and then restore the one you want to work with from now on. The interface provides the main slider that can be used to select individual revisions of the post. This is visible in the following screenshot:

The revision functionality has two main versions. The first one is when the Compare any two revisions box isn't checked, and it lets you compare the revision that's currently selected (on the slider) to the revision directly preceding it. The second version is when the Compare any two revisions box is checked. In this case, you can select the revisions you want to compare individually which essentially allows you to compare any two revisions, just like the box suggests. The revision on the left is always the previous revision, while the one on the right is the next or current one (visible in the preceding screenshot). For every paragraph where there is a difference found, this will be highlighted in red and green, and every individual difference will have additional highlighting. Clicking on the Restore This Revision button will restore the revision on the right, and you will be brought back to the post editing screen automatically.

If you feel that revisions won't be of any particular use to your site, then you can simply choose to not pay attention to the Revisions box. When you work with your content normally, not worrying about the revisions, WordPress will always display the most recent versions of your posts by default.

主站蜘蛛池模板: 双鸭山市| 苍梧县| 湟源县| 白城市| 商都县| 五峰| 通渭县| 儋州市| 黑河市| 什邡市| 宁城县| 平南县| 中西区| 五华县| 文成县| 嘉义县| 朝阳县| 聂拉木县| 闵行区| 桂林市| 奎屯市| 罗田县| 石屏县| 钦州市| 陇川县| 满城县| 舒兰市| 连云港市| 武冈市| 榆中县| 高清| 长白| 沙雅县| 寻甸| 山西省| 杂多县| 甘孜| 彭阳县| 延长县| 揭阳市| 仁怀市|