Support » Plugin: Slideshow » [Plugin: Slideshow] Display slideshow above page title in Twenty Twelve

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Yes, this is possible using the piece of PHP code provided on the slideshow’s settings page.

    First, it might be nice to know what kind of files are responsible for putting together the end result of the theme. This image shows how all WordPress pages are formed: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

    These pages , 404.php, search.php, archive.php, single.php, page.php, home.php and comments-popup.php, all represent a different type of page in your website.

    For instance: If you’d like to only have the slideshow on your static pages, add the piece of code to page.php. Of course, if you add the piece of code to all of the aforementioned files, the slideshow will show up on every page possible.

    These files all have a similar layout, at least with Twenty Eleven they do. Open any of these files and place the <?php do_action('slideshow_deploy', '[yourSlideshowIdHere]'); ?> anywhere around the <div id="primary"> tag. If you place it before this tag, it will display across the entire width of your page, much like the header image and the menu. If you place it after the <div id="primary"> tag, it will display above the primary content, but next to the widget area. If the widget area is not present, it will spread across the entire width of the page.

    I hope the explanation helps!

    Thanks for the compliment and many thanks in advance for the donation!

    Thank you! This resolved my issue. And thanks for the background explanation, it helped as well. Again, great plugin.

    Marking resolved. Thank.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Slideshow] Display slideshow above page title in Twenty Twelve’ is closed to new replies.