devlink1337
Forum Replies Created
-
Forum: Plugins
In reply to: [Before After Image Slider WP] Control slider individuallyIf you’re still interested in a solution than i might got something.
in functions.php register jquery file
add_action('wp_enqueue_scripts','jquery'); function jquery() { wp_register_script('jquery', 'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js', true); wp_enqueue_script('jquery'); }
next go to plugin folder and in the before-after-image-slider.php
delete the following content:
line 24 – 31
?> <script type="text/javascript"> jQuery(document).ready(function($){ $('.ba-slider').beforeAfter(); }); </script> <?php
and at last in folder js modify the before-after.min.js
Copy the code from the JS part from the codepen demo:
https://codepen.io/bamf/pen/jEpxOX
tried it and worked. can now slide through multiple images and the slider recognizes each seperately
Forum: Plugins
In reply to: [Media Library Folders] Solved: Problem with permissions on nginxI see you really have updated the code but just for your information, you updated the wrong line of code.
Line 1606 and 1607
if(mkdir($new_folder_path)) { @chmod($new_folder_path, 0755); [...]
realised it after updating the plugin.
Forum: Plugins
In reply to: [Media Library Folders] Solved: Problem with permissions on nginxI discovered that there might be an issue with our configuration. I successfully tested it on a local nginx installation, installed the plugin there and it worked fine.
The changes are a good workaround just as I said everything else worked as expected on the server. I would definately recommend the changes made, in case some other stupids do the same mistakes as we did ??