- 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.
- Python數(shù)據(jù)分析基礎(chǔ)
- Python機(jī)器學(xué)習(xí)編程與實(shí)戰(zhàn)
- Oracle從入門到精通(第5版)
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- C和C++游戲趣味編程
- Visual Foxpro 9.0數(shù)據(jù)庫程序設(shè)計(jì)教程
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Regression Analysis with Python
- Building Dynamics CRM 2015 Dashboards with Power BI
- C++程序設(shè)計(jì)
- 從零開始學(xué)UI:概念解析、實(shí)戰(zhàn)提高、突破規(guī)則
- Python Social Media Analytics
- Testing Practitioner Handbook
- Data Visualization:Representing Information on Modern Web
- Python實(shí)現(xiàn)Web UI自動(dòng)化測試實(shí)戰(zhàn):Selenium 3/4+unittest/Pytest+GitLab+Jenkins