Quote:
Originally Posted by Replicant
The echo statement is the problem. VB wants to display the returned data. Assign your data to a variable and return the variable.
$data = '<h1>My Custom Footer</h1>';
return $data;
|
Well the issue isn't with the second piece of code from my post, outputting the following is causing the issue
PHP Code:
public function wpHeader($x){
$path = $_SERVER['DOCUMENT_ROOT'];
$path .= "/wpfolder/wp-content/themes/mytheme/header-forums.php";
include_once($path);
return;
}