I have created a custom post type which doesn't use the_content()
to display anything in the front-end, just using echo's.
The user enters data into a text-area field in the plugin admin back-end, the CPT does some data manipulation and everything is output through a template file using a shortcode.
How can I get short-codes to fire when a user enters them into a CPT text-area in the backend admin. I can't see any filters being used. Also since it's an admin area text input field, php snippets won't work.
EDIT:
Perhaps a better question is how to implement the_loop
properly in a custom post? My code currently;
<?php
/*
Template Name: Article
*/
?>
<article class="article-single">
<?php
echo do_shortcode('[banner]');
... loads of shortcodes to build up html...
echo do_shortcode('[info]');
?>
</article>
the_content()
?