Created
February 8, 2013 19:50
-
-
Save mattbanks/4741474 to your computer and use it in GitHub Desktop.
Pods 2.3a7 post_content filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mb_show_testimonial() { | |
global $post; | |
$portfolio = pods( 'portfolio', $post->ID ); | |
?> | |
<div class="testimonial"> | |
<?php echo $portfolio->display( 'testimonial' ); ?> | |
</div> | |
<p class="author"><?php echo $portfolio->display( 'testimonial_author' ); ?></p> | |
<div class="body-text"> | |
<div class="entry-content"> | |
<?php echo $portfolio->display( 'post_content' ); ?> | |
</div> | |
</div> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment