[WordPress] 外掛分享: myGWD RSS ShortCode

首頁外掛目錄 › myGWD RSS ShortCode
10+
安裝啟用
★★★★★
5/5 分(2 則評價)
3961 天前
最後更新
問題解決
WordPress 4.0.0+ v1.0.0 上架:2015-05-13

內容簡介

簡單的代碼,實際的自定義。

短代碼:

[GWDrss feed='https://goldsborowebdevelopment.com/feed/']

以下數值可以被「調整」:

limit(默認為 5)- 限制項目數量。
container(默認為 ul)- 指定列表容器所使用的 HTML 標籤名稱。
container_class(默認為 null)- 為列表容器加上 class。
list(默認為 li)- 指定列表項目所使用的 HTML 標籤名稱。
list_class(默認為 null)- 為列表項目加上 class。
title(默認為 25)- 指定標題長度(0表示移除標題)。
link(默認為 true)- 快速轉向項目(false表示禁用轉向)。
target(默認為 _blank)- 指定如何開啟連結。
desc(默認為 150)- 指定摘要長度(0表示移除摘要)。
auth(默認為 true)- 顯示作者(false表示禁用)。
before_link(默認為 null)- 放置在鏈接之前的 HTML。
after_link(默認為 null)- 放置在鏈接之後的 HTML。
date(默認為 null)- 使用 PHP 日期代碼啟用(例如:date='M j, Y')。
thumb(默認為 false)- (存在問題)啟用縮略圖設置為 true。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「myGWD RSS ShortCode」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Simple code, real customization.
Shortcode:
[GWDrss feed='https://goldsborowebdevelopment.com/feed/']

The following values can be “tweaked”:

limit (default 5) – limit the number of items
container (default ul) – specify the HTML tag for the list container
container_class (default null) – add a class to the list container
list (default li) – specify the HTML tag for the list item
list_class (default null) – add a class to the list item
title (default 25) – specifies how long the title is (0 to remove the title)
link (default true) – hyperlinks the item (false to disable linking)
target (default _blank) – specifies how to open a link
desc (default 150) – specifies how long the excerpt is (0 to remove the except)
auth (default true) – displays the author (false to disable)
before_link (default null) – HTML to place before a link
after_link (default null) – HTML to place after a link
date (default null) – use PHP Date code to enable (ie: date='M j, Y')
thumb (default false) – (buggy) true to enable a thumbnail

延伸相關外掛

文章
Filter
Apply Filters
Mastodon