Conditional links allows shortcodes to be created which will automatically link when a page or blog post exists with the same slug or title. If the conditionally linked page or post exists, the text will be wrapped in anchor tags otherwise plain text will be returned.
The following shortcodes are available:
cplfor page links.
cblfor blog post links.
Shortcodes can be used in the following ways:
[cpl title="this link title"]link[/cpl]
[cpl slug="link" title="the link title"]
This plugin is multisite compatible.
- Update readme files.
- update language template.
- Fix bug with azurecurve menu.
Download from Github to manually install; if you already have the plugin installed, an update will be available in the admin dashboard.
I’m keen to resolve any issues and happy to consider functionality requests, so please get in touch if you want to report a problem or ask for new functionality.