Wordpress includes ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • machinegunkelly
    Confirmed User
    • Jun 2003
    • 3304

    #1

    Wordpress includes ?

    When setting up a wordpress template , what's the point of using the includes ?

    Seems a little pointless to me for some reason , other than to make the install more of a pain in the ass .. or am I missing something ?
    enlighten me .
    dead.
  • JD
    Too lazy to set a custom title
    • Sep 2003
    • 22651

    #2
    makes the template easier to fk with. it's a pain in the ass having the entire site be in index.php. Having it broken up into header/index/sidebar/foot makes editing SO much easier. Plus, it's easier to have different looks to the single post/category/page with it broken up

    I think that's what you meant by includes.

    Comment

    • bangman
      Confirmed User
      • Sep 2004
      • 5283

      #3
      Exactly.

      If you're doing the conversion for yourself, then there is no problem with using just 1-2 template files. However, most clients expect an easy to work with solution, which means seperate template files for the header, loop, footer, sidebar(s), page, comments and archives.

      All depends on what you're doing it for.
      - David Hall
      ICQ: 312744199

      Comment

      • machinegunkelly
        Confirmed User
        • Jun 2003
        • 3304

        #4
        Hmm guess it depends on how you're editing .. I find it a pain in the ass with the includes , so I've been doing them very last if at all .. depends on what the blogs going to be doing ..

        I just asked cause it seems like a big pain for nothing if your blog is relatively static as most are .
        dead.

        Comment

        • machinegunkelly
          Confirmed User
          • Jun 2003
          • 3304

          #5
          Hmm guess it depends on how you're editing .. I find it a pain in the ass with the includes , so I've been doing them very last if at all .. depends on what the blogs going to be doing ..

          I just asked cause it seems like a big pain for nothing if your blog is relatively static as most are .
          dead.

          Comment

          Working...