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

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.

主站蜘蛛池模板: 尉氏县| 攀枝花市| 高陵县| 永吉县| 岗巴县| 利川市| 临漳县| 敖汉旗| 资阳市| 金华市| 太白县| 肥乡县| 翼城县| 新蔡县| 拉孜县| 泗洪县| 阜平县| 南漳县| 海淀区| 滨州市| 渭源县| 静海县| 水富县| 图木舒克市| 惠安县| 扶沟县| 宁南县| 宁强县| 广灵县| 甘肃省| 平安县| 安顺市| 峨眉山市| 许昌县| 巫山县| 界首市| 卢氏县| 乐山市| 闽侯县| 余姚市| 定西市|