Great plugin, some notes for enhancements
-
This plugin is great and does mostly what I need. I found a couple of small things that I have manually adjusted and wanted to share:
1) The plugin could break some stuff on your website since it forces a specific version of jquery without respecting if jquery has already been loaded. This can be easily fixed:
Open ssp-director-tools.php file on the main plugin directory and around line 65 add the following:
if(!wp_script_is('jquery')) { wp_deregister_script( 'jquery' ); wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js'); wp_enqueue_script( 'jquery' ); }
Essentially this will enclose the jquery calls on a conditional so that it only loads jquery if its not available from your theme or another plugin.
2) I wanted to bring my images watermarked from the API. This is easily adjusted. Open the file: SSPDT.php within the plugin includes directory. Around line 146 you’ll find: $content->large->url. Simply replace this for: $content->large->watermarked_url and your large images will be requested watermarked.
That could probably be done as a plugin option in the settings but I will leave it for the author to decide on a future update.
Other than that the plugin is awesome and I love it!
Thank you!
- The topic ‘Great plugin, some notes for enhancements’ is closed to new replies.