Created
December 7, 2011 02:27
-
-
Save daltonrooney/1441149 to your computer and use it in GitHub Desktop.
Simple template for embedded slideshows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
/* Template Name: Gallery slideshow | |
/* | |
*/ | |
?> | |
<?php get_header();?> | |
<?php $id = apply_filters('attribute_escape', $_GET['id']);?> | |
<section class="main"> | |
<?php if ( $id ) { | |
echo do_shortcode( "[portfolio_slideshow id=$id]"); | |
} ?> | |
</section> | |
<?php get_footer();?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment