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

[Help Wordpress] nextgen modal navigator and auto-align from bottom of page for wordpress
align from bottom of page for wordpress
nextgen modal navigator and auto-align from bottom of page for ...help.dimsemenov.com/...w...
[Wordpress issuses] thecreditzone on "Need to buy premium theme for WordPress website hosted elsewhere"
thecreditzone on "Need to buy premium theme for WordPress website hosted elsewhere"
[Help Wordpress] глюк роял слайдера 3.1.3
Help Wordpress
RoyalSlider WordPress Issues / Discussion Area - RoyalSlider Supporthelp.dimsemenov.com/di...
[Help Wordpress] Erorr isntalling PHP
Erorr isntalling PHP
PHP: Installation - Manualphp.net/manual/en/faq.installation.php - Cached - SimilarSome op...
[Help Wordpress] Plugin Install Failed error
Help Wordpress
[ubuntu] HP printer install problem plug in failed - Ubuntu Forumsubuntuforums.org/showthr...