-
Notifications
You must be signed in to change notification settings - Fork 28
/
content-link.php
31 lines (31 loc) · 1.88 KB
/
content-link.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
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php wpforge_article_schema( 'CreativeWork' ); ?>>
<div class="entry-meta-header">
<?php if( get_theme_mod( 'wpforge_cat_display','yes' ) == 'yes') { ?>
<?php if( get_theme_mod( 'wpforge_cat_position','top' ) == 'top') { ?>
<?php wpforge_entry_meta_categories(); ?>
<?php } // end if ?>
<?php } // end if ?>
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>" title="View all Link Posts"><span class="genericon genericon-link"></span> <?php echo get_post_format_string( 'link' ); ?></a>
<?php wpforge_entry_meta_header(); ?>
<?php if ( comments_open() ) : ?>
<span class="genericon genericon-comment"></span> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Comment', 'wp-forge' ) . '</span>', __( '1 Comment', 'wp-forge' ), __( '% Comments', 'wp-forge' ) ); ?>
<?php endif; // comments_open() ?>
<?php edit_post_link( __( 'Edit', 'wp-forge' ), '<span class="edit-link"><span class="genericon genericon-edit"></span> ', '</span>' ); ?>
</div><!-- end .entry-meta-header -->
<div class="entry-content-post" itemprop="text">
<?php the_content( __( 'Continue reading <span class="meta-nav">»</span>', 'wp-forge' ) ); ?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<div class="entry-meta-footer">
<?php if( get_theme_mod( 'wpforge_cat_display' ) == 'yes') { ?>
<?php if( get_theme_mod( 'wpforge_cat_position' ) == 'bottom') { ?>
<?php wpforge_bottom_meta_categories(); ?>
<?php } // end if ?>
<?php } // end if ?>
<?php if( get_theme_mod( 'wpforge_tag_display','yes' ) == 'yes') { ?>
<?php wpforge_entry_meta_footer(); ?>
<?php } // end if ?>
</div><!-- end .entry-meta-footer -->
<?php get_template_part( 'content', 'author' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->