I tend to use WP to create CMS-style sites, rather than blogs. My way of working is to get everything I need into page.php (incl. sidebars, header, footer) and work from there. The problem comes when I split this back out to each individual files. Using Sandbox as a starting point, there’s 13 or so files for content.
I know that a theme requires only an index.php; but working practically — and using the template hierarchy — would it be worthwhile only using these files to display everything —
In your practical experience, would this be a good trade-off between using the 13 content presentation files; and a single index.php with loads of conditionals?
Any insight into theme development like this is appreciated.
- The topic ‘Minimal Set of Template Files’ is closed to new replies.