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:
cpl
for page links.cbl
for blog post links.
Shortcodes can be used in the following ways:
[cpl slug="link"]
[cpl title="this link title"]link[/cpl]
[cpl slug="link" title="the link title"]
This plugin is multisite compatible.
Changelog
- Update readme files.
- update language template.
- Fix bug with azurecurve menu.
Download
Download from GitHub to manually install; if you already have the plugin installed, an update will be available in the admin dashboard.
Support
If you have any problems to log or features to request, contact me via the ClassicPress Plugin Support Forum or you can log an issue via the GitHub repository.
Issues/Ideas
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.