This is on a localhost, and chunks1-3 are working 100%. But, I cannot understand why the Theme integrator is not grabbing the last bit. It seems like there is something wrong with the ‘end’ call, but I am unsure.
Ahhh, this is because the theme integrator uses the wp_footer() hook to process the chunks.
I hadn’t thought of that scenario before. It can’t really be used in this way unfortunately. A solution may be to set the integrator to hook into wp_footer() with a lower priority, but I’m probably not going to be updating the plugin myself any time soon sorry.