-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathimage.php
More file actions
executable file
·58 lines (40 loc) · 1.46 KB
/
image.php
File metadata and controls
executable file
·58 lines (40 loc) · 1.46 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php get_header(); ?>
<?php if ( has_excerpt() ) : ?>
<header class="page-header">
<?php the_excerpt(); ?>
</header><!-- .entry-caption -->
<?php endif; ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" <?php hybrid_attr( 'content' ); ?>>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php hybrid_attr( 'post' ); ?>>
<div class="entry-post">
<div class="entry-content" <?php hybrid_attr( 'entry-content' ); ?>>
<div class="entry-attachment">
<?php
/**
* Filter the default Bulan image attachment size.
*/
$image_size = apply_filters( 'bulan_attachment_size', 'large' );
echo wp_get_attachment_image( get_the_ID(), $image_size );
?>
</div><!-- .entry-attachment -->
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'bulan' ),
'after' => '</div>',
) );
?>
</div>
</div>
<div class="entry-meta">
<?php the_title( '<h1 class="entry-title" ' . hybrid_get_attr( 'entry-title' ) . '>', '</h1>' ); ?>
<?php bulan_attachment_posted_on(); ?>
<?php get_template_part( 'loop', 'nav' ); ?>
</div>
</article><!-- #post-## -->
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>