Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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.
http://codex.wordpress.org/Theme_Development

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.
http://codex.wordpress.org/Theme_Development#Resources_and_References

A quick search of the WordPress forums would have also provided you with the information needed(just something to note).
http://wordpress.org/search/where+is+content+stored?forums=1

Hope that helps.

share|improve this answer
add comment

Prateek,

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
add comment

Your Answer

 
discard

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.