[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fwXvkNrYlD0oOf51S4JGs6pOUsePPbvhOIMUqzSajMuw":3},{"slug":4,"display_name":5,"profile_url":6,"plugin_count":7,"total_installs":8,"avg_security_score":9,"avg_patch_time_days":10,"trust_score":11,"computed_at":12,"plugins":13},"swiftweb","SwiftWeb","https:\u002F\u002Fprofiles.wordpress.org\u002Fswiftweb\u002F",1,10,85,30,84,"2026-05-20T01:34:15.971Z",[14],{"slug":15,"name":16,"version":17,"author":5,"author_profile":6,"description":18,"short_description":19,"active_installs":8,"downloaded":20,"rating":21,"num_ratings":22,"last_updated":23,"tested_up_to":24,"requires_at_least":25,"requires_php":26,"tags":27,"homepage":32,"download_link":33,"security_score":9,"vuln_count":34,"unpatched_count":34,"last_vuln_date":35,"fetched_at":36},"wp-softlinks","WP SoftLinks","1.0.1","\u003Cp>We were tired to alter every link and image in posts, pages or widgets when switching from development to live environments.\u003C\u002Fp>\n\u003Cp>e.g. when you insert an image in TinyMCE on your development environment (\u003Ccode>http:\u002F\u002Fdev.example.com\u003C\u002Fcode>), the image has a hard URL: \u003Ccode>http:\u002F\u002Fdev.example.com\u002Fmedia\u002F2014\u002F06\u002Fexample.jpg\u003C\u002Fcode>\u003Cbr \u002F>\nWhen switching to your live environment (\u003Ccode>http:\u002F\u002Flive.example.com\u003C\u002Fcode>), you change your WordPress Site URL, but the image in the content is still \u003Ccode>http:\u002F\u002Fdev.example.com\u002Fmedia\u002F2014\u002F06\u002Fexample.jpg\u003C\u002Fcode>.\u003Cbr \u002F>\nThis is very frustrating, you have to alter each page, post, widget etcetera…\u003C\u002Fp>\n\u003Cp>This plugin solves that problem. It automatically adds a data-wp-id tag when you insert an image or link in your TinyMCE.\u003Cbr \u002F>\nThe data-wp-id tag contains a unique ID from the wp-post table in WordPress.\u003C\u002Fp>\n\u003Cp>When displaying the content on the front-end this plugin automatically recognizes the data-wp-id tag and replaces the \u003Ccode>src=\"\"\u003C\u002Fcode> and \u003Ccode>href=\"\"\u003C\u002Fcode> with the correct permalink.\u003Cbr \u002F>\nYou can use the tag anywhere you want, simply add the \u003Ccode>data-wp-id=\"123\"\u003C\u002Fcode> (where \u003Ccode>123\u003C\u002Fcode> is the ID).\u003C\u002Fp>\n\u003Ch4>So, how does it work?\u003C\u002Fh4>\n\u003Cp>The plugin automatically adds the data-wp-id when inserting an image or link in the WordPress editor.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Normally, when you insert an image into the WP editor, WordPress would generate image tags like this:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Cimg src=\"http:\u002F\u002Fdev.example.com\u002Fmedia\u002F2014\u002F05\u002Fexample-150x150.jpg\" class=\"size-thumbnail\" width=\"150\" height=\"150\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>\u003Cstrong>But this Plugin will generate a link like this:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Cimg data-wp-id=\"123\" src=\"#\" class=\"size-thumbnail\" width=\"150\" height=\"150\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>\u003Cstrong>… And finally on the Front-End, the Plugin will output is as:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Cimg src=\"http:\u002F\u002Flive.example.com\u002Fmedia\u002F2014\u002F05\u002Fexample-150x150.jpg\" class=\"size-thumbnail\" width=\"150\" height=\"150\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>Another example, adding a link:\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Normally WordPress will generate a link like this:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Ca href=\"http:\u002F\u002Fdev.example.com\u002Fexample-page\" target=\"_blank\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>\u003Cstrong>But this Plugin will generate it like this:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Ca data-wp-id=\"100\" href=\"#\" target=\"_blank\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>\u003Cstrong>…And finally on the Front-End, the Plugin will output it as:\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cblockquote>\n\u003Cp>\u003Ccode>\u003Ca href=\"http:\u002F\u002Flive.example.com\u002Fexample-page\" target=\"_blank\" \u002F>\u003C\u002Fcode>\u003C\u002Fp>\n\u003C\u002Fblockquote>\n","This plugin allows you to use a simple HTML tag that dynamically generates href and src tags. Easy to use, and extremely helpful.",1335,100,2,"2014-06-13T08:56:00.000Z","3.9.40","3.6","",[28,29,30,31],"data-wp-id","post-link-replacement","softlink","tinymce","http:\u002F\u002Fwww.swiftweb.nl","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwp-softlinks.1.0.1.zip",0,null,"2026-04-16T10:56:18.058Z"]