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.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Conditional Links”