title: Wordpress header and footer in Vbulletin problem
body: <p>So im working in a project that will have Wordpress has the main page and then vbulletin as a forum. I already connected both platforms with a plugin so the users can login either in wordpress or in vbulletin.</p>
  
  <p>Now for the design part, I want the vbulletin forum page to have the wordpress header and footer, searched on google and found that that can be achieved by creating a plugin/hook in vbulletin like this:</p>
  
  <pre><code>ob_start();
  include( '../wp-load.php');
  include('../wp-content/themes/Avada/header.php');
  $wp_header = ob_get_contents();
  ob_end_clean();
  </code></pre>
  
  <p>after that just insert '$wp_header' in vbulletin header file.</p>
  
  <p>Problem is nothing happens, all I get is '$wp_header' written on top of my vbulletin page.</p>
  
  <p>I have my wordpress installed in a folder 'apostasgreen',
  and vbulletin in the folder 'apostasgreen/forum'. 
  maybe my file paths are wrong?</p>
  
  <p>Any help in this? thanks</p>