forked from argoproject/Argo
-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
content-single.php
47 lines (30 loc) · 1.06 KB
/
content-single.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
<?php
/**
* The template for displaying content in the single.php template
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'hnews item' ); ?> itemscope itemtype="http://schema.org/Article">
<?php do_action('largo_before_post_header'); ?>
<header>
<?php largo_maybe_top_term(); ?>
<h1 class="entry-title" itemprop="headline"><?php the_title(); ?></h1>
<?php if ( $subtitle = get_post_meta( $post->ID, 'subtitle', true ) ) : ?>
<h2 class="subtitle"><?php echo $subtitle ?></h2>
<?php endif; ?>
<h5 class="byline"><?php largo_byline(); ?></h5>
<?php if ( ! of_get_option( 'single_social_icons' ) == false ) {
largo_post_social_links();
} ?>
<?php largo_post_metadata( $post->ID ); ?>
</header><!-- / entry header -->
<?php
do_action('largo_after_post_header');
largo_hero(null,'span12');
do_action('largo_after_hero');
?>
<?php get_sidebar(); ?>
<section class="entry-content clearfix" itemprop="articleBody">
<?php largo_entry_content( $post ); ?>
</section>
<?php do_action('largo_after_post_content'); ?>
</article>