CF Internal Link Shortcode

June 24, 2022

CF Internal Link Shortcode Plugin

A flexible shortcode and lookup tool for creating internal links in post/page content (or anywhere shortcodes are parsed).

A flexible shortcode and lookup tool for creating internal links in post/page content (or anywhere shortcodes are parsed).
A lookup tool is added to the sidebar of the post edit screen for locating shortcodes for internal posts.

A plugin by Crowd Favorite. We build Big Things with WordPress.

Installation

  1. Upload the internal-link-shortcode.php file to your wp-content/plugins directory.
  2. Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Internal Link Shortcode.

FAQ

If I reorganize the structure or change my permalink settings will the links still work?

Yes, the links generated by shortcodes will auto update themselves so you’ll have no broken links.

Does this plugin support custom post types?

Yes, posts with a custom type will be listed in the results when searching for a shortcode. The plugin will also add a shortcode search box to any ‘Add New’ or ‘Edit’ public custom post type page

Can I use custom link text in the shortcode?

Yes, using the shortcode [link id=’123′ text=’my link text’] will produce a link of the following my link text.

You can also add class and rel attributes to the shortcode. [link id=’123′ text=’my link text’ class=’my-class’ rel=’external’] will produce the following link
my link text

Both of these examples can be viewed in Internal Link Shortcode Lookup box by clicking on the ‘?’.

Anything else?

That about does it – enjoy!

Changelog

1.0.1

  • Rename the ‘name’ value of the search field so that it doesn’t conflict with an existing WP Admin field.

1.0

  • Initial release

Details

  • Version: 1.1.0
  • Active installations: 100
  • WordPress Version: 5.7.2
  • Tested up to: 6.0.9

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars