modules/custom-post-types/portfolios.php 1 location
|
@@ 601-611 (lines=11) @@
|
| 598 |
|
|
| 599 |
|
<?php |
| 600 |
|
// The content |
| 601 |
|
if ( false !== $atts['display_content'] ) { |
| 602 |
|
if ( 'full' === $atts['display_content'] ) { |
| 603 |
|
?> |
| 604 |
|
<div class="portfolio-entry-content"><?php the_content(); ?></div> |
| 605 |
|
<?php |
| 606 |
|
} else { |
| 607 |
|
?> |
| 608 |
|
<div class="portfolio-entry-content"><?php the_excerpt(); ?></div> |
| 609 |
|
<?php |
| 610 |
|
} |
| 611 |
|
} |
| 612 |
|
?> |
| 613 |
|
</div><!-- close .portfolio-entry --> |
| 614 |
|
<?php $portfolio_index_number++; |
modules/custom-post-types/testimonial.php 1 location
|
@@ 620-630 (lines=11) @@
|
| 617 |
|
<div class="testimonial-entry <?php echo esc_attr( self::get_testimonial_class( $testimonial_index_number, $atts['columns'], has_post_thumbnail( $post_id ) ) ); ?>"> |
| 618 |
|
<?php |
| 619 |
|
// The content |
| 620 |
|
if ( false !== $atts['display_content'] ) { |
| 621 |
|
if ( 'full' === $atts['display_content'] ) { |
| 622 |
|
?> |
| 623 |
|
<div class="testimonial-entry-content"><?php the_content(); ?></div> |
| 624 |
|
<?php |
| 625 |
|
} else { |
| 626 |
|
?> |
| 627 |
|
<div class="testimonial-entry-content"><?php the_excerpt(); ?></div> |
| 628 |
|
<?php |
| 629 |
|
} |
| 630 |
|
} |
| 631 |
|
?> |
| 632 |
|
<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> |
| 633 |
|
<?php |