跳到内容

Display Post Link

v1.1.0

Alian Schiavoncini · 2022年7月27日 上架

Display WordPress post/page links (homepage, blog, privacy, etc.) via shortcode in post/page content or widget area.

正在使用
10 以下
评分
暂无
累计下载
1,749
最近更新
2026年11月18日
需要 WordPress 5.2+已测试到 7.1.5PHP 7.4+

截图

Display Post Link
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. The link is displayed only for published posts and pages: if the post is deleted, unpublished, private or password-protected, nothing is 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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums