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

Excerpt

WordPress offers theme designers the option to show a post's Excerpt (instead of its full content or lead+body) on pages within the theme:

This is how the excerpt works:

  • If you enter some text into the Excerpt box on the Edit Post page, that text will be used as the post's excerpt on the pages that call for it.
  • If you do not enter any text into the Excerpt box, WordPress will use the first 55 words of the post's content (which is stripped of HTML tags) followed by [...] (which is not a link).
  • If you do not enter any text into the Excerpt box, and the theme you are using does something special, the number of words and the final text could be different.

You are never required to enter excerpt text. However, it is advisable that you do take advantage of this possibility. Excerpts can introduce big readability improvements to your site, and make your content easier to grasp for the reader, provided that your current theme uses excerpts in one way or the other. In some cases, excerpts also give your site additional SEO benefits - provided that your theme displays them in places where Google and the other search engines can see them.

The more tag ( <!--more-->), which has been described in one of the previous sections in this chapter, should not be confused with the excerpt. It is different from the excerpt because of you, not the theme designer, controls its use. Additionally, the more tag is supported by every theme and has a slightly different task than the excerpt. It's meant to present the lead of the post, the part that's going to convince the reader to visit the complete post, while the excerpt is a summary of the post's contents.
主站蜘蛛池模板: 黄平县| 河曲县| 隆回县| 苍山县| 佛学| 古田县| 大新县| 海晏县| 泽州县| 金溪县| 拉萨市| 石嘴山市| 新沂市| 泰安市| 府谷县| 沧州市| 连城县| 阿巴嘎旗| 淮安市| 焦作市| 高州市| 沁阳市| 青阳县| 十堰市| 汝阳县| 西乌珠穆沁旗| 高青县| 沽源县| 巧家县| 台山市| 南平市| 霍城县| 虹口区| 邓州市| 玉树县| 长沙县| 邢台市| 衡阳县| 喀喇| 永修县| 旬邑县|