Conditional Links

The cpl shortcode allows links to be generated when the page exists; allows index or other pages to be built before child or iother linked pages. Adds anchor tags to valid links otherwise outputs plain HTML.

Shortcode allows cpl, Cpl or CPL to be used for conditional page loinks and cbl, Cbl or CBL for conditional blog links. The following formats are valid:
[cpl slug="link"] [cpl title="this link title"]link[/cpl] [cpl slug="link" title="the link title"]

This plugin is supported with WordPress multisite installations.


This plugin supports language translations. If you want to translate this plugin please send the .po and .mo files to for inclusion in the next version (full credit will be given). The .pot file is in the languages folder of the plugin or can be downloaded here.


Download from

Frequently Asked Questions

  1. Can I translate this plugin?
    Yes, the .pot file should be in the plugin’s languages folder and can also be downloaded from the plugin page on; if you do translate this plugin please sent the .po and .mo files to for inclusion in the next version (full credit will be given).


To install the plugin copy the azurcurve-conditional-links folder into your plug-in directory and activate it.



  • Add conditional blog links shortcode ([cbl]) and related options.


  • Fix issue with Add/Edit page liinks not working correctly


  • First version


azurecurve plugins are free, open source tools for increasing the potential of WordPress as a CMS.

Plugins are a result of many many hours spent to deliver best product possible, reading comments from you and trying to support every WordPress release as soon as possible.

You can help support the development by donating a small amount of money.