forked from YaleDHLab/dh-rees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-project.php
41 lines (35 loc) · 1.14 KB
/
single-project.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
<?php
/**
* The template for displaying all single posts.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package _s
*/
get_header(); ?>
<div id="primary" class="content-area">
<div class="single-page single-project"></div>
<main id="main" class="site-main" role="main">
<!-- Post content -->
<div class="single-page-wrapper">
<?php while ( have_posts() ) : the_post(); ?>
<div class="featured-project-container">
<div class="featured-project-image-container">
<img class="featured-project-image" src="<?php the_post_thumbnail_url('original'); ?>" />
</div>
<div class="project-full-text-container">
<div class="featured-project-title">
<?php the_title(); ?>
</div>
<div class="author">
<?php echo get_post_meta($post->ID, 'project-author', true); ?>
</div>
<?php echo the_content();
endwhile; // End of the loop. ?>
</div>
</div>
</div>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_footer();