Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| course:wordpress_tutorials:how_to_display_news_excerpts:start [2018/10/29 11:57] – [List category posts] riya.li | course:wordpress_tutorials:how_to_display_news_excerpts:start [2018/10/30 10:09] (current) – [List category posts] riya.li | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * 1.dashboard> | * 1.dashboard> | ||
| * {{: | * {{: | ||
| - | * 按照要求填写好post title,此处对应的时候news的标题 | + | * 2.按照要求填写好post title,此处对应的时候news的标题 |
| - | * 写入news的内容 | + | * 3.写入news的内容 |
| - | * 在excerpt区域内写入摘要 | + | * 4.在excerpt区域内写入摘要 |
| * {{: | * {{: | ||
| < | < | ||
| Line 17: | Line 17: | ||
| ===== List category posts ===== | ===== List category posts ===== | ||
| - | * List category posts是使用[catlist]短代码在帖子或页面中按类别列出帖子,当编辑页面或帖子时,直接在“Text”中插入短代码,帖子将在那里列出. | + | * List category posts是使用[catlist]短代码在帖子或页面中按类别列出帖子,当编辑页面或帖子时,直接在“Text”中插入短代码,帖子将在那里列出。 |
| + | * {{: | ||
| + | * 基本用法是这样的: | ||
| + | * {{: | ||
| + | * {{: | ||
| + | * 要显示每个帖子的摘录使用:[catlist excerpt = yes] | ||
| + | * 列出“Dogs”类别的帖子:[catlist name = Dogs] | ||
| + | * 更多参数请参考:https:// | ||
| + | |||