I'm gonna add a bit of code/edit my homepage in Wordpress, but I can't find the page's main file to edit. Take a look at this:


This is my homepage. Now look at the page source in your browser. I want to edit these codes. But I can't find it anywhere in the website directory. It seems to be a html file, but can't find anything on the host to edit. I'm a total newbie, so please explain it clear. I'm using WordPress 3.6.1 and Wallbase theme. Thanks.

  • 4
    I strongly recommend to read some introductions to WordPress: for starters, Theme Development and Template Hierarchy. As for now, this is not enough information to get actual help. The final HTML of your website is generated both by static and dynamic parts. Is it some specific page that you want to customize? Is it a somewhat general part of the website (like the header, footer, sidebar etc.)? – tfrommen Sep 29 '13 at 10:43
  • I'm a newbie and I know nothing about php. I wonder why the source of the page is in html, but all the files are in php. – Reza Hajianpour Sep 29 '13 at 10:47
  • Yes, it's the main page (uaral.tk), and I want to edit the header of it. – Reza Hajianpour Sep 29 '13 at 10:48
  • PHP files are often used to produce markup that is sent to browsers. Using only pure HTML files to produce web pages is very rare when using WordPress. – Charles Clarkson Sep 30 '13 at 2:27

If it really is the header you want to edit, you can find its source here:


Depending on A) what it is exactly that you want to customize, and B) how your theme is set up and what options it comes with, you might want to try the Theme Options, which can be found in the Appearance menu in WordPress Admin, if present (the options, that is).

If it is some CSS thing, however, you have to edit the theme's stylesheet:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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