Easy internal link by oEmbed.
Easy internal link by oEmbed.
This plugin maintained on GitHub.
Filter for default template.
<?php
add_filter("oembed-internal-link-template", "my_template");
function my_template($template) {
return '<div class="%class%"><a href="%post_url%">%post_thumb%</a></div>';
}
?>
You can use tags in the template as below.
Filter for stylesheet URI.
<?php
add_filter("oembed-internal-link-stylesheet", "my_style");
function my_style($url) {
return 'http://example.com/path/to/style.css';
}
?>
Requires: 3.2 or higher
Compatible up to: 4.4.2
Last Updated: 4 months ago
Active Installs:
10+
Got something to say? Need help?