Plugin Directory

Dynamic Tag Links

Adds a shortcode for internal links to tags, but checks if the tag exists before linking it.

Download Version 0.2

Linking relevant words internally to your tags provide benefits both from a search engine optimization point of view as well as giving relevant context for users wanting to explore your site. When starting a new site, you might not have a lot of tags in your archive yet, and you don't want to go through your old posts adding new relevant links each time you write a new article.

This WordPress shortcode adds a link to a specified tag, but -only if it exists-. Otherwise the text in the shortcode is shown just as usual. You can also specify several tags separated with semicolons, and let the plugin check if any of them exists.

Usage: [taglink tag="tag1;tag2;..."]text[/taglink]

For instance: [taglink tag="css;web development;technology"]stylesheets[/taglink]

will output

<a href="http://yourdomain.com/tag/css">stylesheets</a> or 
<a href="http://yourdomain.com/tag/web-development">stylesheets</a> or 
<a href="http://yourdomain.com/tag/technology">stylesheets</a> or
stylesheets

depending on which (if any) tag exists. If no tag is specified, the content ("stylesheets" above) is assumed as the tag.

Read more at Jacob Rask, the plugin author's site.

Author: Jacob Rask

Requires: 2.5 or higher
Compatible up to: 2.7.1
Last Updated: 2009-3-21 Downloads: 1,130

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

0,1,0