Support » Themes and Templates » Need help with WP File Structure

  • New to WordPress but not new to web design. I am trying to develop a site using the twenty thirteen theme. I have created, installed and activated a child theme. Now I am inspecting various elements using Firebug to help me to determine where I need to make changes to the code…header.php, footer.php, style.css, etc.

    I am creating a static front page and I am looking to have an area below the navigation (which I have already customized) for content and then I will have some linkable widgets at the bottom of the page.

    But when I use Firebug to inspect the “content” element it shows me <divs> and other HTML but does not tell me which file those lines of code reside in. Changing the banner image was faily simple as it was located in the header.php file and certain css changes I made to the navigation were obviously in the style.css file, but not being familiar with WP and it’s file structure has left me frustrated. Can someone help a WordPress newbie please? It would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You need to be looking at copies of header.php and page.php in your child theme. Or you could always create a new front-page.php template file in your child theme. That would always take precedence over page.php on a static front page.

    Moderator stephencottontail


    I would recommend reading Template Hierarchy for more information about which PHP files WordPress uses.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need help with WP File Structure’ is closed to new replies.