Integrating an interactive map into a WordPress custom post type
The easiest way would be to use a function which accepts a region taxonomy term as an argument, and outputs a list of posts with that term (i.e. ‘in that region’). So your template looks like: <!–nw–> <div id=”nw” class=”counties-container”> <h2>North West</h2> <p class=”nw-t”><?php my_posts_by_region(‘nw’); ?></p> </div> I’m assuming that ‘nw’ is the term name … Read more