
內容簡介
必須使用短碼[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=”查看我們的隱私政策!”]
外掛標籤
開發者團隊
原文外掛簡介
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
