Forums

Use single.php instead of index.php? HELP!! (2 posts)

  1. phattrance
    Member
    Posted 1 year ago #

    The blog im running ( http://funny-pictures-blog.com/ ) for now has both single.php and index.php file. when i load the main page it will load the index.php and when i click on a post it will load the single.php file.

    is it possible to make the single.php as the "main" php file? so that it wont have to use the index.php at all?

  2. Chip Bennett
    Member
    Posted 1 year ago #

    No, that's not possible. The index.php template file is the "master" or "default" template file, to which all other template files in the hierarchy default (eventually).

    What are you trying to do, that you want to use "single.php" in place of "index.php"?

Topic Closed

This topic has been closed to new replies.

About this Topic