
內容簡介
這是一款能夠輕鬆建立 Isotope/Masonry 布局的外掛,可使用任何內容(文章、頁面或自定義文章類型)。響應式網格,可篩選的內容。
短代碼參數
type
範例:type=”portfolio”
預設值:post
顯示根據文章類型、頁面或自定義文章類型的內容。
items
範例:items=”12″
預設值:4
要顯示的項目數目。
tax
範例:tax=”category”
預設值:none
根據 taxonomy 參數顯示篩選。
term
範例:term=”category-slug”
預設值:none
根據 term 參數顯示篩選,並僅基於該項目顯示項目。
必填項:使用 tax 參數。
order_by
範例:order_by=”slug”
預設值:menu_order
按參數排序檢索文章。
order
範例:order=”DESC”
預設值:ASC
指定「orderby」參數的升序或降序排列。
id
範例:id=”my_custom_grid”
預設值:none
設置自定義 ID,以便更好地樣式化或定位。
外掛標籤
開發者團隊
原文外掛簡介
A plugin to easily build Isotope/Masonry layouts with any content (posts, pages or custom post types). Responsive grids, filterable content.
Shortode parameters
type
example: type=”portfolio”
default: post
Display content based on posts, pages or custom post types.
items
example: items=”12″
default: 4
Number of items to show.
tax
example: tax=”category”
default: none
Show a filter based on taxonomy parameter.
term
example: term=”category-slug”
default: none
Show a filter based on a term parameter and only show items based on the term.
REQUIRED: use the tax parameter.
order_by
example: order_by=”slug”
default: menu_order
Sort retrieved posts by parameter.
order
example: order=”DESC”
default: ASC
Designates the ascending or descending order of the ‘orderby’ parameter.
id
example: id=”my_custom_grid”
default: none
set a custom id so you can style or target better.
