WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

oEmbed Internal Link

Easy internal link by oEmbed.

Easy internal link by oEmbed.

This plugin maintained on GitHub.

filter hooks example

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.

  • %post_id%
  • %post_url%
  • %post_thumb%
  • %post_excerpt%

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';
    }
?>

Contributors

Tags:

Requires: 3.2 or higher
Compatible up to: 4.4.6
Last Updated: 1 year ago
Active Installs: 10+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.