WordPress.org

Ready to get started?Download WordPress

Forums

Theme Question (3 posts)

  1. Jbert
    Member
    Posted 5 years ago #

    I am trying to learn WP structure and have made great advances but for the life of me I can not understand why themes have an index.php and usually another called maybe home.php. The code in the index.php does not use a template include for home.php but if you take out some things in home.php they will not show. I tried putting the things I took out in index.php and they would still not work.

    Some guru please school me!!!!!!

    JIM

  2. figaro
    Member
    Posted 5 years ago #

    See if the following discussion and links help.

    http://wordpress.org/support/topic/214386?replies=5

  3. Jbert
    Member
    Posted 5 years ago #

    I renamed both files and now home is my index, looks same? So from this it looks like items in home.php that are not in index.php are used automatically if index.php is the front page. In the right direction now---THANKS

    JIM

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.