Tuesday, April 23, 2013

[Help Wordpress] Is there a way to choose the starting slider via php function?


I have added the necessary option for startslideID


if(count($init_codes) > 0 ) {
// $init_codes is an array that holds slider JavaScript initialization codes // You may do string replacement to change option startSlideId $configslide = str_replace("template:'default'","template:'default',startSlideId:2",$init_codes[2]);


}


$configslide is the altered option. What do I need to do with this variable in order to work in the slide?



.

help.dimsemenov.com

No comments:

Post a Comment

Search

Other post

[Top WP themes 2013] [Entertainment] Soundstage - WordPress Theme For Bands/Musicians (Entertainment)
[Entertainment] Soundstage
[Entertainment] Soundstage - WordPress Theme For Bands/Musicians (Entertainment)Back to Ho...
[Top WP themes 2013] [Entertainment] Rock Palace - a Responsive Music Wordpress Theme (Entertainment)
[Entertainment] Rock Palace
LIVE PREVIEW WITHOUT THE IFRAMESometimes the Theme is better visible without the ifra...
[WP issuses] cata1yst on "[Plugin: WP Forum Server] Spam guest posts when registration is required"
cata1yst on "[Plugin: WP Forum Server] Spam guest posts when registration is required"
cata1ystMemberPosted 3 weeks ago #Hi,I have an installation of WP Forum server 1.7.5 on my...
[Top WP themes 2013] [Entertainment] Acoustic - Premium Music WordPress Theme (Entertainment)
[Entertainment] Acoustic
[Entertainment] Acoustic - Premium Music WordPress Theme (Entertainment)Back to Home »Ente...
[WP issuses] mgerney on "[Plugin: WP Forum Server] Extra return after post name"
mgerney on "[Plugin: WP Forum Server] Extra return after post name"
mgerneyMemberPosted 4 days ago #There is an extra return after the forum poster name. I ca...