[resolved] Display slideshow above page title in Twenty Twelve (4 posts)

  1. Organica
    Posted 3 years ago #

    The default installation displays below the page title and I would like to customize is to show above the title, but below the header area. Is there any way to do this? Am using the Twenty Twelve theme.

    Great plugin, will donate for sure!



  2. Stefan Boonstra
    Plugin Author

    Posted 3 years ago #

    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!

  3. Organica
    Posted 3 years ago #

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

  4. Organica
    Posted 3 years ago #

    Marking resolved. Thank.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic