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:6.3.1
Plugin version:1.0.1
Added to WordPress repository:27-07-2022
Last updated:20-09-2023
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/display-post-li...
Total downloads:289
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 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.


Screenshots