WordPress.org

Ready to get started?Download WordPress

Forums

Youtube Sidebar Widget
Problem with WPML plugin (1 post)

  1. peterco
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/youtube-sidebar-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic