Support » Plugin: Sliding Youtube Gallery » getGallery not working

  • Resolved abluescarab


    I’ve been trying to put <?php getGallery(array('id' => 1)); ?> into the template on a website, but nothing shows up and there appears to be no error message in the console.

    I checked out the code for the website in Chrome Developer Tools and didn’t see anything at all where I put the code.

    Is there something wrong with the code with the latest build? I can provide the URL for the site if I need to.

    Thank you.

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


    Hi abluescarab, sorry if I get a long time to reply to your answer but I was very busy in the latest period. Maybe the documentation doesn’t explain well, you have to use the following:

    <?php echo getGallery(array('id' => 1)); ?>

    I will update the documentation soon.

    Thank you, cheers




    Ohhh, I see! Thank you for clarifying, I apologize for not understanding.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘getGallery not working’ is closed to new replies.