Conditional Links

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:

  1. [cpl slug=”link”]
  2. [cpl title=”this link title”]link[/cpl]
  3. [cpl slug=”link” title=”the link title”]

Download

Download from GitHub.

Installation

To install the Conditional Links plugin:

  • Download the plugin from GitHub.
  • Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
  • Activate the plugin.

Support

Support, including bug reports, feature requests or questions, is available from azurecurve via the azurecurve Community site.

Translations

Translations are usually in the plugins languages folder, but our Translations site will have the most up-to-date versions.

If you can translate the plugin, please request access via the azurecurve Community site.

Changelog

Changes and feature additions for the Conditional Links plugin:

  • 1.0.0
    1. First version for ClassicPress forked from azurecurve Conditional Links WordPress Plugin.

Frequently Asked Questions

  1. Can I translate this plugin?

    Yes, this plugin can be translated using the available .pot file or via our Translations site which will have the most up-to-date versions.

    To translate on our translation site, please request access via our Community site.

  2. Is this plugin compatible with both WordPress and ClassicPress?

    This plugin is developed for ClassicPress, but will likely work on WordPress.

Donation

azurecurve plugins are free, open source tools for increasing the potential of ClassicPress 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 ClassicPress release as soon as possible.

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