[WordPress] 外掛分享: Display Category Posts Via Shortcode Lite

首頁外掛目錄 › Display Category Posts Via Shortcode Lite
20+
安裝啟用
尚無評分
3880 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2015-02-03

內容簡介

這個外掛可以透過簡單的短代碼從指定的分類中顯示文章及其特色圖片,並以回應式網格的形式呈現。

您可以輕鬆地使用簡單的短代碼來展示來自特定分類的文章。

安裝後,只需前往“設定 > DCP Lite”即可找到具有短代碼選項的插件頁面。

如果您需要更多功能,這個外掛也有一個高級版本,即“Display Category Posts Via Shortcode Pro”。

您可以在“設定 > DCP Lite”頁面上查看它提供的額外功能。

其中一些功能包括:

分頁
能夠將文章中的字符限制添加到指定位置,而不必自己為每篇文章添加“閱讀更多”段落。
文章排序
一行中顯示的文章數量(2、3或4)
將文章標題轉換為連結的功能
將文章的精選圖片轉換為連結的功能
顯示日期
新增“載入所有” ajax 按鈕,可一次載入所有文章
從多個分類中提取文章
提取特定文章,而不管它們的分類

任意說明部分

您可以提供與上述部分相同格式的任意部分。這在需要傳達更多信息的非常複雜的外掛中可能很有用,這些信息未適合“描述”或“安裝”的類別。任意部分將顯示在上述內置部分下方。

簡單 Markdown 範例

排序列表:

某些功能
另一個功能
有關插件的其他信息

無序列表:

某些東西
其他東西
第三個東西

這裡有一個連結到WordPress和一個到 Markdown 的語法文檔。當然,標題是可選的。

Markdown 使用電子郵件風格標記來引用區塊,如下所述:

使用星號進行強調。二次使用即可轉換為重點。

<?php code(); // 放在反引號中 ?>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Display Category Posts Via Shortcode Lite」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Displays posts with their featured images from a specified category in a responsive grid using a simple shortcode.
Easily show and display posts from specific categories using a simple shortcode.
After installation simply go to Settings > DCP Lite to find the plugins page with the shortcode options.
If you require more features, there is also a premium version of this plugin, Display Category Posts Via Shortcode Pro.
You can see the extra features it offers on the Settings > DCP Lite page.
Some of those features are:

Pagination
Ability to add character limit to your posts which automatically adds the “read more” link at that point, instead of adding the “read more” break yourself to each and every post.
Ordering of the posts
How many posts to show in a row (2,3 or 4)
Ability to turn post titles into links
Ability to turn posts’ featured images into links
Show date
Add “load all” ajax button which loads all the posts at once
Fetch posts from multiple categories
Fetch specific posts regardless of their categories

Arbitrary section
You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated
plugins where more information needs to be conveyed that doesn’t fit into the categories of “description” or
“installation.” Arbitrary sections will be shown below the built-in sections outlined above.
A brief Markdown Example
Ordered list:

Some feature
Another feature
Something else about the plugin

Unordered list:

something
something else
third thing

Here’s a link to WordPress and one to Markdown’s Syntax Documentation.
Titles are optional, naturally.
Markdown uses email style notation for blockquotes and I’ve been told:

Asterisks for emphasis. Double it up for strong.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon