Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17805

    Hi,

    I was wondering if you know of a way to add script so that the 3d image slider on the home page displays a random image from a list rather than a set order.

    Thank you for your help.

    #96993

    If you’re using the image manager (display option panel) you can modify wp-contentthemesdisplayframeworktheme_pluginskriesi_menu_managerkriesi_slider_display.php – open up the file and replace all occurences of following code/line:

    foreach($results as $result)

    with:

    if( is_array($results) ){
    shuffle( $results );
    }
    foreach($results as $result)

    Unfortunately there’s no easy way to “implement” such a generator into config.xml – and you need to use the image manager if you want to randomize the slides.

    #96994

    Ah yes, unfortunately I am using config.xml. Is it possible to switch to Image Manager without using wordpress?

    Thank you for you response!

    Also, do you know if it’s possible to resize the website in the browser and have the 3d image slider resize with it?

    Thanks again.

    #96995

    Hi,

    I believe this theme is *not* Responsive – it doesn’t resize to different screen sizes.

    If you are using the html version of the theme, you would need to be able to execute php to write a custom function or modify jquery to shuffle the images every time it pulls them out of the xml file.

    Thanks,

    Nick

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Random image in 3d slider’ is closed to new replies.