-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslideshow.php
More file actions
32 lines (25 loc) · 736 Bytes
/
Copy pathslideshow.php
File metadata and controls
32 lines (25 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/*This is the template for individual slides*/
get_header();
// display edit post link
echo '<div>';
edit_post_link('Edit');
echo '</div>';
?>
<article>
<div class="back-to-article">
Back to article:
<h1><a href="<?php echo get_BackToArticleLink(); ?>"><?php the_title(); ?></a></h1>
</div>
<?php get_template_part('partials/slideshow/slide-nav'); ?>
<?php displayCurrentSlide(); ?>
<?php get_template_part('partials/slideshow/slide-nav'); ?>
<?php
$allThumbs = get_SlideshowMap();
foreach ( $allThumbs as $thisThumb ) { ?>
<a href="<?php echo $thisThumb['url']; ?>"><img class="slideshow-nav-thumbs" src="<?php echo $thisThumb['thumb']; ?>" /></a>
<?php } ?>
</article>
<?php
get_sidebar();
get_footer();