forked from Codeinwp/roda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent.php
46 lines (39 loc) · 1.16 KB
/
content.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
/**
* @package Roda
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<div class="entry-thumb col-md-6">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" >
<?php the_post_thumbnail('roda-thumb'); ?>
</a>
</div>
<?php endif; ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-content col-md-6">
<?php else : ?>
<div class="post-content">
<?php endif; ?>
<header class="entry-header">
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<?php roda_posted_on(); ?>
</div>
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div>
<div class="meta-container">
<?php roda_entry_cats(); ?>
<?php roda_entry_tags(); ?>
<?php roda_entry_comms(); ?>
</div>
</div>
</article><!-- #post-## -->
<div class="post-separator">
<?php echo roda_post_svg(); ?>
</div>