Embed Link ShortCode

‘Embed Link ShortCode’ tries to emulate the functionality that facebook has when a link is pasted to the input status.
But it doesn’t happen when you paste a link in the body of a new post (as when you paste a youtube link in the visual view of a post), it’s done using a shortcode.
The provided link to the shortcode is fetched to get the meta tags, and these meta tags are used to render the new post content. It tries to get an image and put it as
post default thumbnail, and it uses some meta tags to get title text and to add a quote. The order in the post content is: image, quote and link.
If you don’t like the HTML render, you can always edit the code to change format or suggest me some changes.
Usage:
1- Create a new post.
2- Add only the shortcode with the link (in HTML mode, not Visual) in the post body. For example:
[embedlink]http://example.com/example[/embedlink]
3- Push ‘Save Draft’.
If all is ok, the post content will be rewritten with the rendered html code. An image may be uploaded to the media library and added as post default thumbnail.
If nothing happens, click the preview link and some error message may be displayed. If a blank entry is showed, all is ok, then click Edit and you will see the rendered code.
Otherwise, it will be a bug: please, report it adding the URL you used and the plugin version (update to last version before report!).
4- Review the generated code.
Notes
- The post format will be set to ‘link’ by default.
- The image (if any is found) will be added to the media library and set to post default thumbnail.
- The content post is rewritten when you save it.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



