Support » How-To and Troubleshooting » How to change index.php

How to change index.php

  • Hi. I’d like to change my index.php (home page) or completely replace it.
    Have a free downloaded theme, but the home page in it does not fully satisfy me. Want to customize it or fully replace. I am now learning all basic languages such as css, php. Of course, it will take some time. I just wanted to experiment and to know beforehand how can I make the page I make from scratch or customize to become my index page instead of one I have know.


Viewing 3 replies - 1 through 3 (of 3 total)
  • May be I am not clear. What options I have in changing my index page? How can I replace an index page in downloaded theme with a new without breaking integrity of the theme.?

    Moderator kmessinger


    Forum Moderator

    If you change index.php wordpress will not function. Your “home page” is created dynamically using wordpress, your theme and css. The looks of any page is controlled primarily by css.



    very awesome

    How the home page is laid out depends completly on your theme. I’ve seen some that have it set up really badly in the admin area, but most good themes will use the standard WordPress templates.

    The file/files that you’ll want to look for area (in this order):

    1. front-page.php
    2. home.php
    3. single-page.php
    4. page.php
    5. index.php

    Without knowing your theme it’s impossible f rus to say which one you’d need to look at, or even if those templates are used to lay out your homepage. It’s really just some research work and a bit of guess work that you’ll have to do to figure out how your site is put together.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change index.php’ is closed to new replies.