FaceLord
Member
Posted 2 years ago #
This is a great plugin. I've been looking for something exactly like this. The only thing I can't get it to do is use image as the link.
As far as I can tell, you can only wrap text in the anchor. Perhaps, an alternate syntax could be added. Such as:
[link id='123']my link text[/link]
and
[link id='123']<img src="pic.jpg"/>[/link]
Thanks for making this plugin.
http://wordpress.org/extend/plugins/internal-link-shortcode/
I would like this as well.
According to the plugin's code, it can handle the "[link id='123']<img src="pic.jpg"/>[/link]" formatting, but the content is HTML escaped by the plugin's code as well, so the <img> tag doesn't render.
I wonder why.
FaceLord
Member
Posted 2 years ago #
It appears WordPress 3.1 has internal linking support built in. So I guess this plugin is no longer necessary.
As a matter of fact the plugin is still necessary. The internal linking support of WP 3.1 is just a way of browsing through your articles, it links posts via their possibly changing permalinks. This plugin links posts via their static IDs.
rlgrobert
Member
Posted 2 years ago #
+1 for supporting the [link id='X']My link text[/link] syntax.