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

I would like to manually edit the code my my wordpress pages. The WP interface only allows me to individually edit the CSS or PHP. The Page Edit feature gives me access to a certain part of the code, excluding the Body Tag.

Kindly help me locate my files on the server.

Thanks for your help!


share|improve this question
up vote 2 down vote accepted

WordPress stores content in the database, there are not any physical files with the content of the pages(or posts). The theme's template files control how to render and display your site, you can find those files in wp-content/themes/YOUR-ACTIVE-THEME-NAME-HERE..

You can find lots of information on themes and their development here.

Additional information and guidance can be found through the other documentation listed in the resources section of the above linked page, here it is for quick reference.

A quick search of the WordPress forums would have also provided you with the information needed(just something to note).

Hope that helps.

share|improve this answer


Although it is theme dependent, many of the structural elements for your pages design are contained in the themes .php files. Go to DASHBOARD > APPEARANCE > EDITOR and you will see the files that make up the templates and in the case of some themes, sections of your displayed pages. You can go into these files using the WordPress editor or a text editor and make changes to the theme template itself, which may allow you to make the changes you desire (be sure to work from a copy until you are satisfied).

Using the Twenty-Ten theme as an example, you can find the < body > information in the header.php file.

share|improve this answer
thanks, ray! :) – Prateek Mishra Feb 19 '11 at 16:02

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.