forked from themejack/briar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-aside.php
More file actions
35 lines (32 loc) · 791 Bytes
/
content-aside.php
File metadata and controls
35 lines (32 loc) · 791 Bytes
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
<?php
/**
* The template for displaying aside post format
*
* Used for both single and index/archive/search.
*
* @package Briar
* @since 1.0
*/
if ( ! is_singular() ) : ?>
<div class="row">
<?php endif; ?>
<div <?php post_class( array( 'post-item', 'clearfix' ) ); ?>>
<?php
if ( ! is_singular() ) {
briar_post_thumbnail();
}
?>
<?php if ( ! is_singular() ) : ?>
<div class="<?php if ( has_post_thumbnail() ) : ?>col-sm-8<?php else : ?>col-sm-12<?php endif; ?>">
<?php endif; ?>
<?php
briar_post_content();
if ( ! is_singular() ) :
edit_post_link( __( 'Edit', 'briar' ), '<span class="edit-link">', '</span>' );
?>
</div><!-- /.col -->
<?php endif; ?>
</div><!-- /.post-item -->
<?php if ( ! is_singular() ) : ?>
</div><!-- /.row -->
<?php endif;