CC-Link-Shortcode

plugin banner

This plugin adds the link shortcode to replace standard html tag. Its primary function is to simplify internal linking.

Author:Clearcode (profile at wordpress.org)
WordPress version required:4.9.2
WordPress version tested:5.9.9
Plugin version:1.1.1
Added to WordPress repository:02-02-2018
Last updated:16-03-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://wordpress.org/plugins/cc-link-shortco...
Total downloads:956
Active installs:10+
plugin download
Click to start download

This plugin adds the shortcode [a] to replace <a> html tag. Its primary function is to simplify internal linking. Now you don’t need to worry about changing the permalinks and correcting the appearance of the permalink in your posts/pages. You can only paste ID of post/page into the shortcode and the plugin will handle everything for you. When opening a post/page the shortcode renders the permalinks and titles of linked posts/pages based on the pasted IDs.

Usage

Basic: [a {post_ID}] Example: [a 123] Returns: <a href="{post_permalink}">{post_title}</a>

Custom link text: [a {post_ID}]{link}[/a] Example: [a 123]Example Post[/a] Returns: <a href="{post_permalink}">Example Post</a>

External link: [a {url}]{link}[/a] Example: [a http://example.com]Example Link[/a] Returns: <a href="http://example.com">Example Link</a>

Additional parameters: [a {post_ID} {param_name}="{param_value}"] Example: [a 123 target="_blank"] Returns: <a href="{post_permalink}" target="_blank">{post_title}</a>


ChangeLog