How to customize the wordpress home page?

Hi

I am new to wordpress and i’m creating a site using wordpress 3.1(latest)

You can see the mock up page here :: VEEJATA ::

And i’ve changed the index.php as


    <?php
    get_header();  //edited the old header.php
    
    //get_template_part( 'loop', 'index' );
    ?>
    
    <div class="flt_left"> 
    	//dummy welcome text .. And i want this text should be editable through wordpress admin panel
    </div>
    <div class="flt_left">
    	//dummy latest post.. and i want to list the last 2 post but i want to edit the style only for home page.. 
    </div>
    
    <?php get_sidebar(); ?> // changed the original sidebar.php with my content
    <?php get_advt(); ?> // created a new file under my theme
    <?php get_footer(); ?> // edited the old footer.php

Now i want to know how to create a custom page or block and how can i include them in the index.page…

Can we have a page or block for the dummy welcome text in the admin page where he can edit the content so that the home page content changes…

I can include the contents in php file and use like get_advt() but instead of editing php file i want to let my admin edit the content from admin panel much alike for pages in wordpress…

Is that possible if yes then how to create and include them?

You can:

  1. create your own template page (take a look at Pages « WordPress Codex)
  2. create a page using admin panel
  3. use created template for that page
  4. in admin panel choose that page as the first page
    and now you can customize as you want :slight_smile:

You can have the dummy text you are talking about, you will probably want to look at Theme Development « WordPress Codex and probably [url=http://codex.wordpress.org/Adding_Administration_Menus]Administration Menus « WordPress Codex to do this part.