ClassicPress Plugins Available From azurecurve | Development in 2023: Conditional Links

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 9th plugin is Conditional Links.

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:

  • [cpl title="this link title"]link
  • the link title

This plugin is multisite compatible.

Download

The current release of the plugin can be downloaded from GitHub

More information

More information on this plugin can be found on the azurecurve | Development page for the plugin.

Click to show/hide the ClassicPress Plugins Available From azurecurve | Development in 2023 Series Index

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *