[Solved] Problem after upgrade
Everything was working fine up until 1.5.3.4 on my site where in my PHP i had:
This gave we the desired slide rotation between the 4 slides i had.
After the upgrade to 1.6 the gallery stopped showing on my website.
I have been speaking to support and they pointed me at:
http://tribulant.com/docs/wordpress-slideshow-gallery/9532
And said i need to use:
Unfortunately i'm not a PHP expert and i manage the website for a charity and i'd like to move to the latest version to ensure there are no security issues.
Can someone please help me with the new PHP i need to replace:
I've tried a few things but nothing gives the same results as before.
Any help much appreciated!
<?php if (class_exists('Gallery')) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); } ?>
This gave we the desired slide rotation between the 4 slides i had.
After the upgrade to 1.6 the gallery stopped showing on my website.
I have been speaking to support and they pointed me at:
http://tribulant.com/docs/wordpress-slideshow-gallery/9532
And said i need to use:
<?php if (function_exists('slideshow')) { slideshow($output = true, $gallery_id = false, $post_id = false, $params = array()); } ?>
Unfortunately i'm not a PHP expert and i manage the website for a charity and i'd like to move to the latest version to ensure there are no security issues.
Can someone please help me with the new PHP i need to replace:
<?php if (class_exists('Gallery')) { $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id = null); } ?>
I've tried a few things but nothing gives the same results as before.
Any help much appreciated!
Comments
I believe that this was already resolved in our help desk.
The code we provided you with did work.
The older code was outdated and needed to be replaced.
I'll mark this as [Solved]