• InventiveWebDesign

    (@inventivewebdesign)


    I would like to hardcode a small slideshow into my sidebar. I have set up slides (Manage Slides) that I want it to use since I want it to show up on every page. I am not using this plugin on any other pages.

    I have tried using the code in sidebar.php from your manual (below) but it doesn’t seem to work. Is there a problem with not having the slideshow tag in the template page? Any suggestions?

    <?php if (class_exists('Gallery')) {
    $Gallery = new Gallery(); $Gallery -> slideshow($output = true, $post_id
    = null);
    } ?>

    [Please post code snippets between backticks or use the code button.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m also looking into this. I have it working but it displays all custom slides as opposed to 1, 2, 3, etc.

    Thread Starter InventiveWebDesign

    (@inventivewebdesign)

    How did you get it to display in your sidebar. I want all of the slides to show up but just can’t get it to display. What code did you use? Did you put your code in sidebar.php?

    Plugin Author cpres

    (@cpres)

    Hmm…there’s no reason why the code shouldn’t work in the sidebar.php. Is it displaying anything at all like the slideshow wrapper div? If you do the hardcode in the different page does it work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hardcoding Slideshow Gallery Pro’ is closed to new replies.