forked from MITLibraries/MITLibraries-news
-
Notifications
You must be signed in to change notification settings - Fork 1
/
page-biblio-about.php
46 lines (38 loc) · 1.12 KB
/
page-biblio-about.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
44
45
46
<?php
/*
Template Name: Biblio Archive
*/
get_header();
get_template_part('inc/sub-header');
get_template_part('inc/bib-header');
?>
<div class="clearfix">
<div class="container subscribe">
<div class="row">
<div class="col-md-12">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php the_title( '<h1 class="entry-title single">', '</h1>' ); ?>
<?php if(get_field("subtitle")){ ?>
<h2 class="subtitle"><?php the_field("subtitle"); ?></h2>
<?php } ?>
</div>
<div class="col-xs-12 col-xs-B-6 col-sm-6 col-md-6">
<?php the_content(); ?>
<br><br>
</div>
<div class="col-xs-12 col-xs-B-6 col-sm-6 col-md-6">
<?php if ( has_post_thumbnail() ) : ?>
<a href="<?php the_field("bibLink"); ?>"><?php the_post_thumbnail(); ?></a>
<?php if(get_field("bibLink")){ ?>
<div class="caption"><?php the_field("bibCaption"); ?></div>
<?php } ?>
<?php endif; ?>
</div>
</div>
</div>
<?php endwhile; else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</div><!--close biblio about-->
<div class="container">
<?php get_footer(); ?>