Another seemingly obvious question:
Using a blog as an example. A post listing will always look the same so I want to separate this element into its own file as it's used across multiple views. So how do I 'include' this?
<?php foreach($posts as $post) {
//include element here.
} ?>
Thanks in advance
Mike