Okay, I'm about to pull my hair out.
I need to display wordpress content on a completely separate script which uses the smartyphp templating style that is very daunting to go through because I have never used it before.
Basically, I know that get_header(); displays the contents of the head.php file. What I want is to actually store all the information displayed from get_header(); into a variable and then just display the variable instead.
However, the code
$content = get_header(); won't cut it because a call to get_header(); actually shows the contents rather than storing it in the variable (or perhaps both? I have to double-check)
Is there a way to not let it do that? I don't want it to display the contents.
Any help is appreciated!