內容簡介
當您的網站設置為使用靜態首頁時,您可能希望在首頁底部顯示您最新的文章列表。
這個外掛會在靜態首頁底部顯示您最新文章的標題、摘要和鏈接。您可以自定義以下選項:
要顯示的文章數量
從哪個分類中顯示文章(預設為“所有分類”)
文章是否應水平或垂直顯示
“閱讀更多”鏈接的文本
區段標題(預設為“最新文章”)
可以使用 CSS 調整樣式。以下 ID 和 class 用於:
mbdslp(ID)-包裹整個最新文章輸出
mbdslp_title(ID)-本節標題(即“最新文章”)
mbdslp_table(ID)-用於水平顯示的表格
mbdslp_post_title(class)-個別文章的標題
mbdslp_post_text(class)-個別文章的摘要
mbslp_read_more(class)-個別“閱讀更多”鏈接
外掛標籤
開發者團隊
原文外掛簡介
When you have your website set to use a static front page, you may want to show a list of your most recent blog posts, too.
This plugin will show the title, excerpt, and link of your most recent blog posts at the bottom of your front page. You can customize the following options:
The number of posts to show
The category to show posts from (default: “All Categories”)
Whether the posts should display horizontally or vertically
The text of the “Read More” link
The title of the section (default: “Latest Posts”)
CSS can be used to adjust styling. The following IDs and classes are used:
mbdslp (ID) – wraps the entire Latest Posts output
mbdslp_title (ID) – title of the section (ie “Latest Posts”)
mbdslp_table (ID) – the table used for horizontal display
mbdslp_post_title (class) – title of the individual post
mbdslp_post_text (class) – excerpt of the individual post
mbslp_read_more (class) – individual “Read More” link
