modules/custom-post-types/portfolios.php 1 location
|
@@ 679-689 (lines=11) @@
|
| 676 |
|
|
| 677 |
|
<?php |
| 678 |
|
// The content |
| 679 |
|
if ( false !== $atts['display_content'] ) { |
| 680 |
|
if ( 'full' === $atts['display_content'] ) { |
| 681 |
|
?> |
| 682 |
|
<div class="portfolio-entry-content"><?php the_content(); ?></div> |
| 683 |
|
<?php |
| 684 |
|
} else { |
| 685 |
|
?> |
| 686 |
|
<div class="portfolio-entry-content"><?php the_excerpt(); ?></div> |
| 687 |
|
<?php |
| 688 |
|
} |
| 689 |
|
} |
| 690 |
|
?> |
| 691 |
|
</div><!-- close .portfolio-entry --> |
| 692 |
|
<?php $portfolio_index_number++; |
modules/custom-post-types/testimonial.php 1 location
|
@@ 625-635 (lines=11) @@
|
| 622 |
|
<div class="testimonial-entry <?php echo esc_attr( self::get_testimonial_class( $testimonial_index_number, $atts['columns'], has_post_thumbnail( $post_id ) ) ); ?>"> |
| 623 |
|
<?php |
| 624 |
|
// The content |
| 625 |
|
if ( false !== $atts['display_content'] ) { |
| 626 |
|
if ( 'full' === $atts['display_content'] ) { |
| 627 |
|
?> |
| 628 |
|
<div class="testimonial-entry-content"><?php the_content(); ?></div> |
| 629 |
|
<?php |
| 630 |
|
} else { |
| 631 |
|
?> |
| 632 |
|
<div class="testimonial-entry-content"><?php the_excerpt(); ?></div> |
| 633 |
|
<?php |
| 634 |
|
} |
| 635 |
|
} |
| 636 |
|
?> |
| 637 |
|
<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> |
| 638 |
|
<?php |