-
Notifications
You must be signed in to change notification settings - Fork 0
/
single-cosplay.php
43 lines (35 loc) · 1.41 KB
/
single-cosplay.php
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
33
34
35
36
37
38
39
40
41
42
43
<?php get_header(); ?>
<div class="container">
<div class="page-header">
<div class="row">
<div class="col-xs-9">
<!-- <h1>Single Cosplay</h1> -->
</div>
<div class="col-xs-3 prev-next">
<?php next_post_link('%link', '<span class="glyphicon glyphicon-circle-arrow-left"></span>'); ?>
<a href="<?php bloginfo(); ?>/?p=50"><span class="glyphicon glyphicon-th"></span></a>
<?php previous_post_link('%link', '<span class="glyphicon glyphicon-circle-arrow-right"></span>'); ?>
</div>
</div>
</div>
<div class="row">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="col-sm-8 portfolio-image">
<?php
$thumbnail_id = get_post_thumbnail_id();
$thumbnail_url = wp_get_attachment_image_src($thumbnail_id, 'thumbnail-size', true);
?>
<p><a href="<?php the_permalink(); ?>"><img src="<?php echo $thumbnail_url[0]; ?>" alt="<?php the_title(); ?> graphic"></a></p>
</div>
<div class="col-sm-4">
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>
</div>
<?php endwhile; else: ?>
<div class="page-header">
<h1>Oh No!</h1>
</div>
<p>No content is appearing for this page, bummer.</p>
<?php endif; ?>
</div>
<?php get_footer(); ?>