[Plugin: Gallery3 Picker] fix for WordPress subdirectory installations
-
I tried this plugin on my subdirectory install of WordPress and it did not work. I got the “No pictures in this folder”. I tried a bunch of stuff but finally fixed it by editing wp-content/plugins/gallery3-picker/picker.php.
I changed the line:
$plugin_url = get_settings('home').'/wp-content/plugins/'.dirname(plugin_basename(__FILE__));
To the following:
$plugin_url = get_settings('siteurl').'/wp-content/plugins/'.dirname(plugin_basename(__FILE__));
And now I can pick images from my gallery3!
I don’t know if this module is still maintained, but hopefully this helps anyone with the same problem I had.
-s
https://www.ads-software.com/extend/plugins/gallery3-picker/
- The topic ‘[Plugin: Gallery3 Picker] fix for WordPress subdirectory installations’ is closed to new replies.