CF Internal Link Shortcode
Link images (6 posts)

  1. FaceLord
    Posted 5 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]
    [link id='123']<img src="pic.jpg"/>[/link]

    Thanks for making this plugin.


  2. wlanni
    Posted 5 years ago #

    I would like this as well.

  3. jfache
    Posted 5 years ago #

    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.

  4. FaceLord
    Posted 5 years ago #

    It appears WordPress 3.1 has internal linking support built in. So I guess this plugin is no longer necessary.

  5. jfache
    Posted 5 years ago #

    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.

  6. rlgrobert
    Posted 5 years ago #

    +1 for supporting the [link id='X']My link text[/link] syntax.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • CF Internal Link Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic