Plugin info

Total downloads: 1,247
Active installs: 10
Total reviews: 2
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 6/13/2014 (4269 days ago)
Added to WordPress: 6/13/2014 (11 years old)
Minimum WordPress version: 3.6
Tested up to WordPress version: 3.9.40
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4269 days ago • 2 reviews

22/100

Is WP SoftLinks abandoned?

Possibly abandoned (last update 4269 days ago).

Compatibility

Requires WordPress: 3.6
Tested up to: 3.9.40
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

We were tired to alter every link and image in posts, pages or widgets when switching from development to live environments.

e.g. when you insert an image in TinyMCE on your development environment (http://dev.example.com), the image has a hard URL: http://dev.example.com/media/2014/06/example.jpg
When switching to your live environment (http://live.example.com), you change your WordPress Site URL, but the image in the content is still http://dev.example.com/media/2014/06/example.jpg.
This is very frustrating, you have to alter each page, post, widget etcetera…

This plugin solves that problem. It automatically adds a data-wp-id tag when you insert an image or link in your TinyMCE.
The data-wp-id tag contains a unique ID from the wp-post table in WordPress.

When displaying the content on the front-end this plugin automatically recognizes the data-wp-id tag and replaces the src="" and href="" with the correct permalink.
You can use the tag anywhere you want, simply add the data-wp-id="123" (where 123 is the ID).

So, how does it work?

The plugin automatically adds the data-wp-id when inserting an image or link in the WordPress editor.

Normally, when you insert an image into the WP editor, WordPress would generate image tags like this:

But this Plugin will generate a link like this:

… And finally on the Front-End, the Plugin will output is as:

Another example, adding a link:

Normally WordPress will generate a link like this:

But this Plugin will generate it like this:

…And finally on the Front-End, the Plugin will output it as:

  1. An example how a link works with the data-wp-id

    An example how a link works with the data-wp-id

  2. An example how an image works with the data-wp-id

    An example how an image works with the data-wp-id

  3. The image remains intact in the editor

    The image remains intact in the editor

  4. The link modal contains an ID field

    The link modal contains an ID field

Changelog

1.0.1

Fixed screenshots, improved readme.txt

1.0

Fixed data-wp-id tag in stead of shortcode.