WordPress.org

Ready to get started?Download WordPress

Forums

How to change index.php (4 posts)

  1. Kirgol
    Member
    Posted 1 year ago #

    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.

    Thanks

  2. Kirgol
    Member
    Posted 1 year ago #

    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.?

  3. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

    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.

  4. catacaustic
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.