-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
65 lines (38 loc) · 1.99 KB
/
home.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
<?php
/**
* Blog Template
*
* The Blog (home.php) template is a place for archives views without a more specific template.
*
* @package happystraps
* @subpackage Template
*/
get_header(); ?>
<?php get_template_part('part','breadcrumbs'); // call breadcrumb template ?>
<div class="row">
<?php do_atomic( 'open_content' ); // Open content hook ?>
<div class="hfeed span8">
<?php get_template_part('loop-meta'); ?>
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php do_atomic( 'before_entry' ); // Before loop hook ?>
<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
<?php do_atomic( 'open_entry' ); // Open loop hook ?>
<?php if ( current_theme_supports( 'get-the-image' ) ) get_the_image( array( 'meta_key' => array( 'Thumbnail' ), 'size' => 'thumbnail' ) ); ?>
<?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'By [entry-author] on [entry-published] [entry-edit-link before=" | "]', hybrid_get_textdomain() ) . '</div>' ); ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms taxonomy="category" before="Posted in "] [entry-terms before="| Tagged "] [entry-comments-link before=" | "]', hybrid_get_textdomain() ) . '</div>' ); ?>
<?php do_atomic( 'close_entry' ); // Close loop hook ?>
</div><!-- .hentry -->
<?php do_atomic( 'after_entry' ); // After loop hook ?>
<?php endwhile; ?>
<?php endif; ?>
<?php get_template_part( 'loop-nav' ); ?>
</div><!-- .hfeed -->
<?php do_atomic( 'close_content' ); // Close content hook ?>
<?php get_template_part('part','sidebars'); // call sidebar template part ?>
</div> <!-- .row -->
<?php get_footer(); ?>