[WordPress] 外掛分享: Smart Post Grid

首頁外掛目錄 › Smart Post Grid
WordPress 外掛 Smart Post Grid 的封面圖片
100+
安裝啟用
★★★★
4.6/5 分(5 則評價)
2863 天前
最後更新
問題解決
WordPress 4.0+ v1.0.1 上架:2017-01-03

內容簡介

Smart Posts Grid 是一個部落格短碼,可以根據不同條件查詢文章並以多種預設佈局顯示,無需 CSS。它可以在您的主題中無縫運作。

主要功能:

能夠根據不同條件查詢文章
有九種預設佈局,無需自訂 CSS
支援 Visual Composer 外掛程式
使用 Ajax 查詢文章

短碼

[s_post_grid post_type=” count=” condition=” order=” cats=” tags=” ids=” layout=” show_category_tag=” filter_style=” show_meta=” column=” id=” title=” title_link=” heading_icon=” heading_bg=” layout=” heading_style=” view_all_text=”]

所有參數皆為選用

post_type – 字串 – 想查詢自訂文章型別的名稱。預設值為「post」
count – 數字 – 想查詢的文章數目。預設為 10
condition – 選擇 – 查詢文章的條件。預設為「最新」。支援的值為「comment」、「view」(需要 Top 10 外掛)、「like」(需要 WTI Like Post 外掛)和「random」
order – 選擇 – 昇冪或降冪
cats – 字串 – 分類的 slug 或 ID,以逗號分隔
tags – 字串 – 標籤的 slug,以逗號分隔
ids – 字串 – 要查詢的文章 ID 列表。如果使用此參數,其他參數將被忽略
layout – 選擇 – 選擇預設佈局,從 1 到 9
show_category_tag – 1/0 – 在文章縮圖上顯示分類標籤
filter_style – 選擇 – 選擇分類篩選器的樣式。可能的值:1(連結)、2(標籤)、3(輪播)
show_meta – 1/0 – 顯示文章元資訊
column – 選擇 – 選擇要顯示的欄數。可能的值:1、2、3、4、6
id – 字串 – 網格的 CSS ID
title – 字串 – 網格的標題
title_link – URL – 標題或「檢視全部」按鈕的完整網址
heading_icon – 字串 – 標題中圖示的 CSS 類別名
view_all_text – 字串 – 「全部檢視」連結或按鈕的文字

請查看我們的高級佈景主題和外掛程式

Homepage

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Smart Post Grid」→ 直接安裝(推薦)

原文外掛簡介

Smart Posts Grid is a Blog shortcode to query posts by many conditions and display in many pre-built layouts without any CSS. It just works seamlessly in your theme.
Main Features:

Query posts by many conditions
9 Pre-built layouts, without any custom CSS
Supports Visual Composer plugin
Ajax query posts

Shortcode
[s_post_grid post_type=” count=” condition=” order=” cats=” tags=” ids=” layout=” show_category_tag=” filter_style=” show_meta=” column=” id=” title=” title_link=” heading_icon=” heading_bg=” layout=” heading_style=” view_all_text=”]
All parameters are optional

post_type – string – Name of Custom Post Type to query. Default is ‘post’
count – int – Number of posts to query. Default is 10
condition – select – Condition to query posts. Default is ‘latest’. Support ‘comment’, ‘view’ (require Top 10 plugin), ‘like’ (require WTI Like Post plugin), ‘random’
order – select – ASC or DESC
cats – string – List of category slugs or IDs, separated by comma
tags – string – List of tag slugs, separated by comma
ids – string – List of post IDs to query. If this param is used, other params are ignored
layout – select – Select default layout, from 1 to 9
show_category_tag – 1/0 – Show category tag on post thumbnail
filter_style – select – Choose style of category filter. Possible values: 1 (links), 2 (tags), 3 (carousel)
show_meta – 1/0 – Show post meta information
column – select – Choose number of columns to display. Possible values: 1, 2, 3, 4, 6
id – string – CSS ID of the grid
title – string – Title of the grid
title_link – URL – Full URL of the title, or the View All button
heading_icon – string – Name of CSS class for icon in heading
view_all_text – string – Text of View All link/button

Checkout our premium themes and plugins

Homepage

文章
Filter
Mastodon