This repository has been archived by the owner on Mar 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
/
full-width-page.php
executable file
·76 lines (56 loc) · 2.38 KB
/
full-width-page.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/*
* Template Name: Full Width Page
*/
$override_layout = '1c-fixed';
?>
<?php get_header(); ?>
<div id="content" class="section" role="main">
<?php ar2_above_content() ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php ar2_above_post() ?>
<article id="post-<?php the_ID() ?>" <?php post_class() ?>>
<header class="entry-header clearfix">
<h1 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title() ?></a></h1>
<?php if ( ar2_get_theme_option( 'post_display[single_thumbs]' ) && has_post_thumbnail( $post->ID ) ) : ?>
<div class="entry-photo"><?php echo ar2_get_thumbnail( 'single-thumb' ) ?></div>
<?php endif ?>
<?php if ( ar2_get_theme_option( 'post_display[post_social]' ) ) : ?>
<div class="entry-social">
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
</div>
<?php endif ?>
</header><!-- .entry-header -->
<div class="entry-content clearfix">
<?php the_content( __( '<p>Read the rest of this entry »</p>', 'ar2' ) ); ?>
<?php wp_link_pages( array( 'before' => __( '<p><strong>Pages:</strong> ', 'ar2' ),
'after' => '</p>', 'next_or_number' => 'number' ) ); ?>
</div>
<footer class="entry-footer clearfix">
<?php if ( ar2_get_theme_option( 'post_display[post_social]' ) ) : ?>
<div class="entry-social">
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
</div>
<?php endif ?>
</footer><!-- .entry-footer -->
</article>
<?php ar2_below_post() ?>
<?php comments_template( '', true ); ?>
<?php ar2_below_comments() ?>
<?php endwhile; else: ?>
<?php ar2_post_notfound() ?>
<?php endif; ?>
<?php ar2_below_content() ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_footer(); ?>