I am trying to use mustache within a wordpress application and modularize it. I would like to use mustache partials to inject the header and footer string into individual template files.
However, as soon as I call get_header / get_footer on the controller layer, the header and footer are echo'ed out immediately. What I am trying to do is just retrieve the markup from the header and footer and store it into a variable, for 'later' injection into the template is this possible?
Thanks in advance!