I need to call a custom header/footer from a plugin for a specific landing page. How can I do this? I know I can make a template in my theme and call it by supplying an argument to
However, I want to supply my footer/header from a plugin instead, since I often put all content associated with a custom landing page in a plugin. I don't want to have a footer template in my theme for every landing page.
What is the best solution for this? I don't want to hide content with CSS.
Here is a gist of what my landingpage plugin basically looks like: