WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wordpress is adding this comment above all HTML on my site which is causing problems in IE in which the site won't render properly at all.

How do I stop WP adding this?

Tried disabling all plugins but nothing

share|improve this question
Which Theme are you using? – fischi Jan 31 '13 at 12:02
"WordPress" (i.e. core) doesn't add much of anything to the front-end, and certainly not <!-- page-who-we-are.php-->. 99.9% certain your Theme is adding that. Look in header.php. – Chip Bennett Jan 31 '13 at 12:48

I would suggest you to search for files by content and search inside wp-content folder of your WordPress for this string: "page-who-we-are.php" - you'll locate the string and you can remove it.

To search files by content on Windows, see Best way to confidently search files and contents in Windows without using an indexing service?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.