fix slide
-
Hi
How to make slide number 3 appear, the default appears slide 1. I need to fix some slide.
-
Well you can re-order slides by clicking on the ‘Re-Order Slides’ link under ‘SA Sliders’:
See screenshot here:
https://i.imgur.com/k608i91.pngso I actually need to fix a slide, without losing the order. My slide has 38 pages, a slide every week, I’m on slide 14 this week.
remembering, I can’t lose the order because my slides are numbered from 1 to 38.
please, even if it is messing with the php code to help, even if it is not possible, thanks for the help.There is no option to do this within my plugin, but the jQuery product which my plugin uses (Owl Carousel) does have an option. I’m assuming you are talking about specifying a starting slide no?
So if you look at the Owl Carousel options page you will see the option:
startPositionSo if you edit “wp-content/plugins/slide-anything/slide-anything-frintend.php”, and see lines 837 and 838:
$output .= " smartSpeed : ".esc_attr($slide_data['slide_transition']).",\n"; $output .= " fluidSpeed : ".esc_attr($slide_data['slide_transition']).",\n";Add a line after these 2 lines,
$output .= " startPosition : 3,\n";This will start the slider at slide 4.
“wp-content/plugins/slide-anything/slide-anything-frintend.php”
I didn’t find this way.what I found was:
“wp-content/plugins/slide-anything/php/slide-anything-frontend.php”.I opened this file: “slide-anything-frontend.php”
but on lines 837 and 838, there are not those 2 lines:
$output .= ” smartSpeed : “.esc_attr($slide_data[‘slide_transition’]).”,\n”;
$output .= ” fluidSpeed : “.esc_attr($slide_data[‘slide_transition’]).”,\n”;Ok,
wp-content/plugins/slide-anything/php/slide-anything-frontend.php
is the correct file (typo)Edit the file and do a search for “fluidSpeed”.
After this “fluidSpeed” line, add the line:
$output .= " startPosition : 3,\n";I have now added this functionality (setting a starting slide number option to the top of my Slide Anything To-Do list), but will probably only get around to this next month – as I’m moving home and have loads of deadlines this month.
-
This reply was modified 5 years, 8 months ago by
simonpedge.
Now it worked, thank you very much for the support, you were incredible.
* I have more than one slide, one is on slide 13, the other on slide 5. in the update if it is possible to fix each slide individually.
thank you again! -
This reply was modified 5 years, 8 months ago by
The topic ‘fix slide’ is closed to new replies.