Thursday, June 6, 2013

[Help Wordpress] Use same slider but with different start slide


Hi Dmitry,


I included the 2 lines of PHP code, and changed the $init_codes array:
$init_codes[0] = str_replace('startSlideId:0', 'startSlideId:2', $init_codes[0]);


I checked with print_r and the startSlideId is now set to 2. So far so good, but when the jQuery initialisation is called later on the page the startSlideId is still set to 0:



How can I fix this?


Thank you, Jeroen.



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post