[WordPress] 外掛分享: Display Post Link

首頁外掛目錄 › Display Post Link
WordPress 外掛 Display Post Link 的封面圖片
全新外掛
安裝啟用
尚無評分
138 天前
最後更新
問題解決
WordPress 5.2+ PHP 7.4+ v1.0.3 上架:2022-07-26

內容簡介

必須使用短碼[display-post-link]來顯示連結,並且需要搭配ID參數使用(必要)。

WordPress 外掛可使用的ID有:首頁(homepage)、部落格(blog)、隱私政策(privacy-policy)。
範例[display-post-link id=”privacy-policy”]

對於 WooCommerce 外掛,可使用以下ID:woocommerce-shop、woocommerce-terms、woocommerce-cart、woocommerce-myaccount、woocommerce-checkout。必須安裝並啟用 WooCommerce 外掛。

您也可以使用文章ID號碼,但如果您刪除了文章,此短碼將無法顯示連結。因此,建議僅在確定不會刪除文章或創建新文章的情況下使用數字格式的ID。

custom_title參數也可以用來顯示自定義的文字連結,而不是使用文章標題。
範例:[display-post-link id=”privacy-policy” custom_title=”查看我們的隱私政策!”]

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin was designed to return the correct link to the special WordPress pages such as the homepage, blog, privacy policy, etc.
The [display-post-link] shortcode must be used in combination with a Name to display the link.
Example [display-post-link id=”privacy-policy”]
Main WordPress options names:

homepage
blog
privacy-policy

WooCommerce options names:

woocommerce-shop
woocommerce-terms
woocommerce-cart
woocommerce-myaccount
woocommerce-checkout
woocommerce-refund-returns

Note: WooCommerce plugin must be installed and active if you would like to use the WooCommerce options names.
It is also possible to use the numeric post/page ID instead of the name but if the post is deleted, the link will not be displayed.
Custom title
A custom_title parameter can be used to display a custom text link instead of the post/page title.
Example: [display-post-link id=”privacy-policy” custom_title=”Check it out our Privacy Policy!”]
Compatible with WPML plugin.
Wordefence vendor verification key
gsphudo7by90lzwdlihyerqxbzj6jiln

文章
Filter
Apply Filters
Mastodon