modules/custom-post-types/testimonial.php 1 location
|
@@ 601-611 (lines=11) @@
|
598 |
|
<div class="testimonial-entry <?php echo esc_attr( self::get_testimonial_class( $testimonial_index_number, $atts['columns'] ) ); ?>"> |
599 |
|
<?php |
600 |
|
// The content |
601 |
|
if ( false !== $atts['display_content'] ) { |
602 |
|
if ( 'full' === $atts['display_content'] ) { |
603 |
|
?> |
604 |
|
<div class="testimonial-entry-content"><?php the_content(); ?></div> |
605 |
|
<?php |
606 |
|
} else { |
607 |
|
?> |
608 |
|
<div class="testimonial-entry-content"><?php the_excerpt(); ?></div> |
609 |
|
<?php |
610 |
|
} |
611 |
|
} |
612 |
|
?> |
613 |
|
<span class="testimonial-entry-title">― <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title_attribute( ) ); ?>"><?php the_title(); ?></a></span> |
614 |
|
<?php |
modules/custom-post-types/portfolios.php 1 location
|
@@ 583-593 (lines=11) @@
|
580 |
|
|
581 |
|
<?php |
582 |
|
// The content |
583 |
|
if ( false !== $atts['display_content'] ) { |
584 |
|
if ( 'full' === $atts['display_content'] ) { |
585 |
|
?> |
586 |
|
<div class="portfolio-entry-content"><?php the_content(); ?></div> |
587 |
|
<?php |
588 |
|
} else { |
589 |
|
?> |
590 |
|
<div class="portfolio-entry-content"><?php the_excerpt(); ?></div> |
591 |
|
<?php |
592 |
|
} |
593 |
|
} |
594 |
|
?> |
595 |
|
</div><!-- close .portfolio-entry --> |
596 |
|
<?php $portfolio_index_number++; |