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

Lead and body

One of the many interesting publishing features WordPress has to offer is the concept of the lead and the body of the post. This may sound like a strange thing, but it's actually quite simple. When you're publishing a new post, you don't necessarily want to display its whole contents right away on the front page. A much more user-friendly approach is to display only the lead, and then display the complete post under its individual URL. Achieving this in WordPress is very simple. All you have to do is use the Insert Read More Tag button, available in the Visual editor (or the more button in the Text editor). Simply place your cursor exactly where you want to break your post (the text before the cursor will become the lead), and then click the Insert More Tag button:

An alternative way of using this tag is to switch to the Text editor and input the tag manually, which is <!--more-->. Both approaches produce the same result. Clicking on the main Update button will save the changes.

On the front page, most WordPress themes display such posts by presenting the lead along with a Continue reading link, and then the whole post (both the lead and the rest of the post) is displayed under the post's individual URL.

主站蜘蛛池模板: 昌都县| 兴业县| 浙江省| 泸水县| 洛南县| 衡阳市| 佛教| 沭阳县| 安平县| 黑龙江省| 苍溪县| 怀集县| 唐海县| 长春市| 大田县| 长丰县| 安庆市| 抚顺县| 曲沃县| 同心县| 通山县| 定陶县| 宝清县| 陈巴尔虎旗| 益阳市| 龙山县| 元氏县| 鱼台县| 天台县| 许昌县| 壶关县| 平武县| 五原县| 呼图壁县| 南雄市| 潼关县| 诸暨市| 旬阳县| 双城市| 临清市| 县级市|