Directory / plugin
Display Post Link
v1.0.5 · by Alian Schiavoncini
Display WordPress post/page links (homepage, blog, privacy, etc.) via shortcode in post/page content or widget area.
About this plugin
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