Wow it was simply the template() function that I needed. Thank you sir.
For all the ajax-load-more peeps. If you’ve going for the Theme Repeater add-on, in Sage 9 this is what works:
- Create the
resources/views/alm_templatesdirectory. - Add your
default.phporwhatever.phprepeater file in there, with something like this inside (rocking thetemplate()function, of course):
# resources/views/alm_templates/default.php
<?php echo template('partials.content-' . get_post_type()); ?>