[Plugin: Youtube Sidebar Widget] Problem with WPML plugin
-
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.
The topic ‘[Plugin: Youtube Sidebar Widget] Problem with WPML plugin’ is closed to new replies.