Youtube Sidebar Widget
Problem with WPML plugin (1 post)

  1. peterco
    Posted 4 years ago #

    Hello, I noticed that in youtube-sidebar-widget.php you pull in the css and javascript using " . get_bloginfo('url'). ", but I found that that creates a problem for a site using WPML, which is a language plugin, once I changed the src using a relative url, it worked perfectly. Like so: src='/wp-content/plugins/youtube-sidebar-widget/script.js'.

    Vs. src='" . get_bloginfo('url'). "/wp-content/plugins/youtube-sidebar-widget/script.js'

    Just thought I'd leave this for anyone using WPML.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic