[WordPress] 外掛分享: Simple Random Posts Shortcode

首頁外掛目錄 › Simple Random Posts Shortcode
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
4089 天前
最後更新
問題解決
WordPress 3.0.1+ v0.3 上架:2015-01-05

內容簡介

一個簡單的外掛,使用短代碼以列表視圖渲染隨機文章預覽。
支援各種選項以便根據您的需求自定輸出。

支援的短代碼選項

header: 是否輸出標題文字 (預設=空值)
show_featured_image: 是否輸出精選文章圖像 (預設=TRUE)
featured_image_height: 精選文章圖像的高度,以像素為單位 (預設值=100)
preview_text_chars: 預覽文字中要顯示的字元數 (預設值=200)
container_css_class: 外部容器的 CSS 類別 (預設值=articles-preview-container)
container_article_css_class: 文章容器的 CSS 類別 (預設值=article-preview)
append_css_clear: 是否附加 CSS clear 容器 (預設=TRUE)
container_left_width: 左側容器的寬度,以像素或百分比為單位 (預設=65%)
container_right_width: 右側容器的寬度,以像素或百分比為單位 (預設=30%)

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3) 或搜尋安裝

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

原文外掛簡介

A simple plugin for rendering random post previews in a list view using shortcode.
Supports various options to customize output to your needs.
Supported shortcode options

header: , whether to output header text (default=)
show_featured_image: , whether to output featured post image (default=TRUE)
featured_image_height: , height of featured image in px (default=100)
preview_text_chars: , amount of chars to be displayed for preview text (default=200)
container_css_class: , CSS class of outer container (default=articles-preview-container)
container_article_css_class: , CSS class of article containe (default=article-preview)
append_css_clear: , whether to append a CSS clear container (default=TRUE)
container_left_width: , px or % (default=65%)
container_right_width: , px or % (default=30%)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon