Code Duplication    Length = 11-14 lines in 2 locations

comments.php 2 locations

@@ 47-57 (lines=11) @@
44
45
		<?php
46
47
    if (get_comment_pages_count() > 1 && get_option('page_comments')) { // Are there comments to navigate through? ?>
48
			<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
49
				<h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium'); ?></h2>
50
				<div class="nav-links">
51
52
					<div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium')); ?></div>
53
					<div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium')); ?></div>
54
55
				</div><!-- .nav-links -->
56
			</nav><!-- #comment-nav-above -->
57
			<?php }
58
59
    // Check for comment navigation. ?>
60
@@ 73-86 (lines=14) @@
70
71
			<?php
72
73
    if (get_comment_pages_count() > 1 && get_option('page_comments')) {
74
        // Are there comments to navigate through?
75
76
        ?>
77
				<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
78
					<h2 class="screen-reader-text"><?php esc_html_e('Comment navigation', 'podium'); ?></h2>
79
					<div class="nav-links">
80
81
						<div class="nav-previous"><?php previous_comments_link(esc_html__('Older Comments', 'podium')); ?></div>
82
						<div class="nav-next"><?php next_comments_link(esc_html__('Newer Comments', 'podium')); ?></div>
83
84
					</div><!-- .nav-links -->
85
				</nav><!-- #comment-nav-below -->
86
				<?php }
87
88
    // Check for comment navigation. ?>
89