[WordPress] 外掛分享: Dynamically Display Posts

首頁外掛目錄 › Dynamically Display Posts
WordPress 外掛 Dynamically Display Posts 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
935 天前
最後更新
問題解決
WordPress 5.0+ v1.1 上架:2021-01-28

內容簡介

這個外掛程式可以讓你在網站的任何頁面上顯示文章列表。
你可以顯示 WordPress 預設文章類型或自定義文章類型,只需要在你想要顯示文章項目的頁面放置短碼即可。

你應該使用下面的短碼放置在頁面上:

[mx_ddp_post_template post_type=”news_sport” term_ids=”18,19″ posts_per_page=”5″ pagination=”none” default_image_url=”http://yourdomain.com/path-to-image/no-photo.jpg”]

屬性如下:

post_type – 要顯示的文章類型(預設值 = ‘post’)

term_ids – 當前(post_type 屬性)文章類型的現有分類法 ID,您應該將分類 ID 列表用逗號(,)分隔(預設值未指定)

posts_per_page – 每頁的文章數(預設值 = ’10’)

pagination – 導航類型。 定義的值:none,numbers,load_more(預設值 = ‘numbers’)

default_image_url – 如果文章沒有任何縮圖,你可以設置預設圖片(預設值未指定)

search_bar – 顯示搜尋欄。 定義的值:on,off(預設值 = ‘on’)

它是如何運作的?

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin allows you to display a list of posts on your website on any page.
You can display the default WordPress post types or Custom Post Types by placing the shortcode to the page where you want to collect the post items.

You should use the shortcode below to place it on the page.

[mx_ddp_post_template post_type=”news_sport” term_ids=”18,19″ posts_per_page=”5″ pagination=”none” default_image_url=”http://yourdomain.com/path-to-image/no-photo.jpg”]

Where the properties are:

post_type – The post type to display (default value = ‘post’)

term_ids – The exists taxonomy IDs of the current (post_type prop.) post type. You should place list of category IDs separated by comma (,). (default value is not specified)

posts_per_page – Number of posts on each page (default value = ’10’)

pagination – Type of navigation. Defined values: none, numbers, load_more (default value = ‘numbers’)

default_image_url – If a post doesn’t have any thumbnail, you can set up the default image (default value is not specified)

search_bar – Display search bar. Defined values: on, off (default value = ‘on’)

How does it work?

文章
Filter
Apply Filters
Mastodon