-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
executable file
·44 lines (44 loc) · 1.38 KB
/
page.php
File metadata and controls
executable file
·44 lines (44 loc) · 1.38 KB
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
<?php
/**
*The template for displaying all pages.
*
* @subpackage journalism
* @since journalism
*/
get_header(); ?>
<div id="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post">
<?php if ( has_post_thumbnail() ) : /* post thumbnail */ ?>
<div class="featured-image">
<?php the_post_thumbnail( 'post-thumb' ); ?>
</div>
<div class="featured-image-title">
<?php do_action( 'journalism_featured_images_title' ) ?>
</div>
<?php endif; /* post thumbnail */ ?>
<div class="journalism-post-carcas">
<header>
<h2 class="entry-title">
<?php the_title(); ?>
</h2><!-- tags .entry-title -->
</header>
<div class="post-text">
<?php the_content(); ?>
</div><!-- div .post-text -->
<?php wp_link_pages(); ?>
<div class="clear"></div>
<footer>
<?php edit_post_link( __( 'Edit', 'journalism' ), '<span class="edit-link">', '</span>' ); ?>
<div class="clear"></div>
<hr />
<?php if ( comments_open() || '0' != get_comments_number() ) :
comments_template();
endif; ?><!-- comments -->
</footer>
</div><!-- div .journalism-post-carcas -->
</div><!-- div .post -->
<?php endwhile; endif; // end of the loop. ?>
</div><!-- div #content -->
<?php get_sidebar();
get_footer();