Code Duplication    Length = 3-3 lines in 9 locations

content-aside.php 1 location

@@ 25-27 (lines=3) @@
22
		<footer class="entry-meta">
23
			<?php strip_entry_meta(); ?>
24
25
			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
26
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
27
			<?php endif; ?>
28
29
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'aside' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'aside' ) ); ?></a></span>
30

content-audio.php 1 location

@@ 32-34 (lines=3) @@
29
30
			<footer class="entry-meta">
31
32
				<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
33
				<span class="comments-link"><?php comments_popup_link( __( 'comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
34
				<?php endif; ?>
35
36
				<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'audio' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'audio' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'audio' ) ); ?></a></span>
37

content-gallery.php 1 location

@@ 43-45 (lines=3) @@
40
41
		<footer class="entry-meta">
42
	<?php strip_entry_meta(); ?>
43
	<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
44
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
45
	<?php endif; ?>
46
47
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'gallery' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'gallery' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'gallery' ) ); ?></a></span>
48

content-image.php 1 location

@@ 42-44 (lines=3) @@
39
		<footer class="entry-meta">
40
			<?php strip_entry_meta(); ?>
41
42
			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
43
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
44
			<?php endif; ?>
45
46
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
47

content-link.php 1 location

@@ 25-27 (lines=3) @@
22
		<footer class="entry-meta">
23
			<?php strip_entry_meta(); ?>
24
25
			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
26
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
27
			<?php endif; ?>
28
29
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'link' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'link' ) ); ?></a></span>
30

content-page.php 1 location

@@ 25-27 (lines=3) @@
22
	<footer class="entry-meta">
23
	<?php strip_entry_meta(); ?>
24
25
	<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
26
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
27
	<?php endif; ?>
28
29
	<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
30
		</footer><!-- .entry-meta -->

content-quote.php 1 location

@@ 24-26 (lines=3) @@
21
22
		<footer class="entry-meta">
23
24
	<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
25
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
26
	<?php endif; ?>
27
28
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'quote' ) ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a></span>
29

content-video.php 1 location

@@ 53-55 (lines=3) @@
50
			<footer class="entry-meta">
51
				<?php strip_entry_meta(); ?>
52
53
				<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
54
				<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
55
				<?php endif; ?>
56
57
				<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a></span>
58

content.php 1 location

@@ 41-43 (lines=3) @@
38
		<footer class="entry-meta">
39
			<?php strip_entry_meta(); ?>
40
41
			<?php if ( ! post_password_required() && ( comments_open() || '0' !== get_comments_number() ) ) : ?>
42
			<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'strip' ), __( '1 Comment', 'strip' ), __( '% Comments', 'strip' ) ); ?></span>
43
			<?php endif; ?>
44
45
			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
46
		</footer><!-- .entry-meta -->