Code Duplication    Length = 11-11 lines in 2 locations

modules/custom-post-types/testimonial.php 1 location

@@ 604-614 (lines=11) @@
601
					<div class="testimonial-entry <?php echo esc_attr( self::get_testimonial_class( $testimonial_index_number, $atts['columns'] ) ); ?>">
602
						<?php
603
						// The content
604
						if ( false !== $atts['display_content'] ) {
605
							if ( 'full' === $atts['display_content'] ) {
606
							?>
607
								<div class="testimonial-entry-content"><?php the_content(); ?></div>
608
							<?php
609
							} else {
610
							?>
611
								<div class="testimonial-entry-content"><?php the_excerpt(); ?></div>
612
							<?php
613
							}
614
						}
615
						?>
616
						<span class="testimonial-entry-title">&#8213; <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></span>
617
						<?php

modules/custom-post-types/portfolios.php 1 location

@@ 600-610 (lines=11) @@
597
598
				<?php
599
				// The content
600
				if ( false !== $atts['display_content'] ) {
601
					if ( 'full' === $atts['display_content'] ) {
602
					?>
603
						<div class="portfolio-entry-content"><?php the_content(); ?></div>
604
					<?php
605
					} else {
606
					?>
607
						<div class="portfolio-entry-content"><?php the_excerpt(); ?></div>
608
					<?php
609
					}
610
				}
611
				?>
612
				</div><!-- close .portfolio-entry -->
613
				<?php $portfolio_index_number++;