WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Combo Slideshow] Hardcode on Homepage (1 post)

  1. fifelskik
    Member
    Posted 2 years ago #

    I want to hardcode custom slides in the php template I'm using for my homepage. The instructions say to place this code in the template:

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

    Am I supposed to edit some of these values? I added two custom slides in the Manage Slides area to play around with, but the php code doesn't add anything on the homepage with the default values above.

    (Note, I don't want to do the shortcode method on the actual page because I want the slideshow to appear above the page title.)

Topic Closed

This topic has been closed to new replies.

About this Topic