I have loaded and activated the plugin .PHP on PAGES. I placed the following code on the page in the text part.
[php]
global $user_ID;
if(1== 1){
echo “Hello World”;
}
[/php]
When I update and preview the page I just get the code above echoed back. It is like it is taking it as text and not a call to a function.
This brings up two questions.
First am I calling PHP wrong?
Second I am using Weaver 11 Pro theme. which as far as I can tell does not have a general-template.php. Do I have to create a child template or something to access these function?
Any help would be appreciated.