• Hi,
    I followed the FAQ How can I change the way an embed looks? and had an issue : my custom CSS wasn’t found by the web browser. Looking at the HTML code, I found that the link wasn’t ok.
    Here’s how I solve this issue : on line 241 of the class-wp-embed-fb-plugin.php file (inside “lib” directory of the plugin folder) I replaced :
    $true_path = file_exists($on_theme) ? $on_theme : self::url() . "templates/$theme/$theme.css";
    by :
    $true_path = file_exists($on_theme) ? get_stylesheet_directory_uri()."/plugins/wp-embed-facebook/$theme/$theme.css" : self::url() . "templates/$theme/$theme.css";

    It’s now ok. I hope the plugin author will integrate this correction to his code.
    @poxtron, if you’re looking at this post ??

  • The topic ‘How I solve an issue when changing the way an embed looks’ is closed to new replies.