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:
link link

This plugin is supported with WordPress multisite installations.

Multilanguage

This plugin supports language translations. If you want to translate this plugin please send the .po and .mo files to wordpress.translations@azurecurve.co.uk 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

Download from WordPress.org.

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 http://development.azurecurve.co.uk; if you do translate this plugin please sent the .po and .mo files to wordpress.translations@azurecurve.co.uk for inclusion in the next version (full credit will be given).

Installation

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

Changelog

1.2.0

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

1.1.0

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

1.0.0

  • First version

Donation

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.