Support » Plugin: Sliding Youtube Gallery » [Plugin: Sliding Youtube Gallery] Function Not Working after Update

  • Resolved Dre4000


    hi, once i updated the plugin it stops working. This is the function i used :

    <?php syg_display_gallery(); ?>

    and this is the error message i am getting on the page:

    Fatal error: Call to undefined function syg_display_gallery() in /home/passion/public_html/food/wp-content/themes/thesis_184/custom/custom_functions.php on line 141

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author webEng


    Hi Dre4000, as you can see in updated documentation, the function name you have to call has changed. Now the correct calling method from template editor is:

    getGallery(array("id" => your_gallery_id));

    getVideoPage(array("id" => your_gallery_id));

    Sorry for update inconveniences, but as I want to improve this plugin I have to do a lot of changes…and the changes is always traumatic!

    Thank you for support

    Plugin Author webEng


    p.s. if this does work, please spend one second to vote the plugin and report if it works with your current version of wordpress.

    Thanks, Luca

    Plugin Author webEng


    Ops, it’s better you download 1.2.2 thx

    so would it be:

    <?php getGallery(array(“id” => your_gallery_id)); ?>

    or I just put in:

    getGallery(array(“id” => your_gallery_id));

    Plugin Author webEng


    For example:

    Template => <?php getGallery(array(“id” => 1)); ?>

    Post or Page => [syg_gallery id=1]

    Cheers, Luca

    Thanks, it worked.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Sliding Youtube Gallery] Function Not Working after Update’ is closed to new replies.