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'd like to create a theme with this layout http://i49.tinypic.com/2z6w7z5.jpg for the homepage. At the moment I am working off an already existing html website I am a confused about what the white and green/blue part of the layout should be named, i.e. what file name it should have.

Thus far I have the bottom footer and the light blue background set up, but am at a lost for what the body file should be (to get it centred with the white background).

Thank you in advance for any help.

share|improve this question

closed as off topic by Michael, brasofilo, Stephen Harris, kaiser, toscho Nov 16 '12 at 22:45

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This doesn't appear to be a WordPress-specific question. It sounds like an HTML/CSS question. Note: WordPress doesn't really care how you define your HTML/CSS markup. –  Chip Bennett Nov 16 '12 at 16:02
1  
What are your theme-development references? Are you studying how to structure a theme? –  brasofilo Nov 16 '12 at 17:00
    
I've reviewed the Codex (which I obviously need to review again) and I am using a book called Professional WordPress. Would you have any advice on other reference items/tools that can be used? Thank you very much. –  lizl-d Nov 16 '12 at 17:46
    
Search this Stack as there are plenty of nice Q&A's. I'd suggest you to reframe the Question (or open a new altogether) asking specifics that you're not understanding. See: wordpress.stackexchange.com/questions/how-to-ask –  brasofilo Nov 16 '12 at 18:25
1  
@brasofilo You can add a tag link with using [tag:theme-development]. –  kaiser Nov 16 '12 at 20:24

1 Answer 1

To the extent that this question is WordPress-related, here's what you need to know:

Start with a file named index.php.

Give that file the following markup:

<?php

get_header();

get_template_part( 'loop' );

get_sidebar();

get_footer();

?>

What you put inside those template-part files is entirely up to you.

For more detailed information, refer to the Codex:

share|improve this answer
    
Hi, thank you for the clarification. Your answer was what I was looking for. (I apologize for phrasing it very poorly - I meant to ask about what the file name should be. I am new to WordPress and even after reading the Codex several times am still a bit confused.) Thanks very much. –  lizl-d Nov 16 '12 at 16:13
    
No worries. I would recommend reading/understanding the Stepping Into Templates Codex entry, as that should answer most of your questions. –  Chip Bennett Nov 16 '12 at 16:17
    
I hadn't gone over Stepping Into Templates but I did review Theme Development. I will be sure to re-read (and try my best) to understand everything. Thanks very much again. –  lizl-d Nov 16 '12 at 17:44

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