Display Post Link

plugin banner

Display post link via shortcode in post content or widget area. It is useful for the home page, blog page, privacy policy page and WooCommerce pages a …

Author:Alian Schiavoncini (profile at wordpress.org)
WordPress version required:5.2
WordPress version tested:7.1.4
Plugin version:1.1.0
Added to WordPress repository:27-07-2022
Last updated:18-11-2026
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/display-post-li...
Total downloads:1 760
plugin download
Click to start download

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


Screenshots
ChangeLog