WordPress.org

Support

Support » Plugins and Hacks » WP Easy Embed » [Plugin: WP Easy Embed] Making Selfhosted wordpress site as oEmbed Provider?

[Plugin: WP Easy Embed] Making Selfhosted wordpress site as oEmbed Provider?

  • Can you please let me know if I can let others to embed my own WordPress site in their Websites? There is a plugin named oEmbed Provider. So that the WordPress sites with wp-easy-embed enabled could embed my content

    Could it be possible to embed a Selfhosted WordPress site’s content in such a way?

    I have checked my site in different ways to make it embed Provider. But no success. could you please let me know if it is possible in any way?

    Plugins I used : wp-easy-embed and oembed-provider

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ibarmin

    @ibarmin

    So, one blog has oEmbed Provider installed and you want to embed posts from it on second blog, that has WP Easy Embed installed, right?

    For second site you should read this:
    http://codex.wordpress.org/Embeds#Adding_Support_For_An_oEmbed-Enabled_Site
    and add something like this

    <?php
    $sourceBlog = trailingslashit('http://example-blog.com/'); //if you installed wordpress in a folder, not in a root - add path to that folder
    $format = $sourceBlog . '*';
    $provider = $sourceBlog . 'wp-content/plugins/oembed-provider/oembed-provider.php';
    wp_oembed_add_provider($format , $provider ); ?>

    in your code (either in a plugin or in a theme functions.php file).

    Thanks ! I will try it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Easy Embed] Making Selfhosted wordpress site as oEmbed Provider?’ is closed to new replies.
Skip to toolbar