-
Notifications
You must be signed in to change notification settings - Fork 0
/
image.php
34 lines (25 loc) · 1.03 KB
/
image.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
<?php
/**
* Attachment template.
*
* @package azzu
* @since azzu 1.0
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
azum()->set('template', 'image');
get_header(); ?>
<div id="primary" class="<?php azus()->_class('azu-content-area'); ?>">
<div id="main" class="<?php azus()->_class('azu-main'); ?>" role="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
get_template_part( 'content' );
azuh()->azzu_display_share_buttons( 'photo', array( 'extended' => true) );
?>
<?php endwhile; ?>
<?php endif; ?>
</div><!-- #main -->
</div><!-- #primary -->
<?php do_action('azzu_after_content'); ?>
<?php get_footer(); ?>