內容簡介
這是一個簡單的外掛程式,使用簡短代碼 (shortcode) 顯示最新文章的預覽,以列表方式呈現。
支援各種選項,可客製化輸出內容以符合你的需求。
支援的簡短代碼選項
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%)
外掛標籤
開發者團隊
原文外掛簡介
A simple plugin for rendering latest 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%)
