- WordPress Complete(Sixth Edition)
- Karol Król
- 221字
- 2021-07-02 18:30:16
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.
- 深入理解Android(卷I)
- .NET 4.0面向對象編程漫談:基礎篇
- Practical DevOps
- AngularJS深度剖析與最佳實踐
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Hands-On Swift 5 Microservices Development
- Java EE 7 Performance Tuning and Optimization
- ASP.NET開發與應用教程
- Bootstrap 4 Cookbook
- HTML5 APP開發從入門到精通(微課精編版)
- D3.js By Example
- “笨辦法”學C語言
- 編程可以很簡單
- 3ds Max印象 電視欄目包裝動畫與特效制作
- Simulation for Data Science with R