Title: sociable plugin path
Last modified: August 19, 2016

---

# sociable plugin path

 *  [irifkin](https://wordpress.org/support/users/irifkin/)
 * (@irifkin)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/sociable-plugin-path/)
 * When putting sociable in my plugins directory the images didn’t load. If I specify
   the path to the images in the settings it worked, but I was wondering why the
   default didn’t work.
 * I looked into it and found line 32 of sociable.php:
    `$sociablepluginpath = WP_CONTENT_URL.'/
   plugins/'.plugin_basename(dirname(__FILE__)).'/';`
 * WP_CONTENT_URL and the plugins directory are fine. The problem is with plugin_basename(
   dirname(__FILE__)). This is returning the full path on the server to the plugin
   directory and not something appropriate for a URL. If I instead use the basename()
   function in PHP, I can return the name of the sociable plugin folder (“sociable”)
   and it works fine.
 * `$sociablepluginpath = WP_CONTENT_URL.'/plugins/'.basename(dirname(__FILE__)).'/';`
 * Have other people encountered this? Do you agree it’s a bug? Is the sociable 
   plugin still being maintained?
 * Thanks!
 * [http://wordpress.org/extend/plugins/sociable/](http://wordpress.org/extend/plugins/sociable/)

The topic ‘sociable plugin path’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sociable.svg)
 * [Sociable](https://wordpress.org/plugins/sociable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sociable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sociable/)
 * [Active Topics](https://wordpress.org/support/plugin/sociable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sociable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sociable/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [irifkin](https://wordpress.org/support/users/irifkin/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/sociable-plugin-path/)
 * Status: not resolved