WordPress.org

Ready to get started?Download WordPress

Forums

Need help with WP File Structure (3 posts)

  1. chrisk860
    Member
    Posted 1 month ago #

    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.

  2. esmi
    Forum Moderator
    Posted 1 month ago #

    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.

  3. stephencottontail
    Member
    Posted 1 month ago #

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

Reply

You must log in to post.

About this Topic