title: setting variable in header.php but not seen in footer.php
body: <p>in wordpress ,
   i set a variable in <strong>header.php</strong></p>
  
  <pre><code>&lt;?php
  $var= 'anything'
  ?&gt;
  </code></pre>
  
  <p>but in <strong>footer.php</strong> when I echo it</p>
  
  <pre><code>&lt;?php
  echo $var;
  ?&gt;
  </code></pre>
  
  <p>I got no thing printed ... why !></p>