Use Pods template within FacetWP shortcode template

mgibbs189

{{gist file=”display-code.php” lang=”php”}}
<?php
/**
* ‘future_ready_resourc’ is the Pod name
* ‘Combined Resources View’ is the Pod template name
*/
?>
<?php while ( have_posts() ): the_post(); ?>
<?php echo pods( ‘future_ready_resourc’, get_the_id() )->template( ‘Combined Resources View’ ); ?>
<?php endwhile; ?>

{{/gist}}