title: php code inside html is being commented out
body: <p>My php code is called from the html code in a <strong>wordpress</strong> page. However It is being commented out by the browser.
  The code:</p>
  
  <pre><code>&lt;?php if (function_exists (gCF)) gCF(); ?&gt;
  </code></pre>
  
  <p>inside a div is being read as following (when I see in firebug or chrome)</p>
  
  <pre><code>&lt;!--?php if (function_exists (gCF)) gCF(); ?--&gt;
  </code></pre>
  
  <p>I searched the net and found following similar questions, but sadly there is no apt solution, and nor has anyone mentioned why this is happening. Is it because of doctype???</p>
  
  <p><a href="https://stackoverflow.com/questions/8763332/inserting-php-into-html-results-in-commented-out-code">Question 1</a>
  <a href="https://stackoverflow.com/questions/14926372/php-in-html-files-not-running-or-being-commented-out">Question 2</a>
  <a href="https://stackoverflow.com/questions/15098940/php-code-not-being-rendered-in-browsers">Question 3</a>
  <a href="https://stackoverflow.com/questions/12561993/my-php-code-is-commented-out">Question 4</a></p>
  
  <p>Thanks in advance.</p>