• Resolved Jay Mayu

    (@mayooresan)


    Recently I’m venturing into WP theme development. When I was developing a WP theme, I found that I don’t have to create Single.php file. From Index.php it’s automatically, creating single post page virtually.

    But why most of the themes are Cuming with single.php file? Can someone explain me the importance of single.php?

    Mayu

Viewing 1 replies (of 1 total)
  • Roy

    (@gangleri)

    I guess it’s just so that the single post view can have a different layout from the index (no sidebar, other sidebar, different footer, perhaps maybe even other margins).

Viewing 1 replies (of 1 total)

The topic ‘Single.php Vs Index.php’ is closed to new replies.