StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 09-09-2012, 10:21 AM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

Genesis does build a solid framework that allows for rapid building of themes without having to rehash a bunch of code. For example, the average child theme has less than 100 lines of code in the functions.php file and two or fewer template files with less than 50 lines of code each. Counting the style sheet and functions.php file there are usually 4 or fewer template files used in a child theme.

That said, it can be rapidly extended so things can be much more complex. For example, the AgentPress theme is adapted for real estate sites so it has a more complex system to allow for custom taxonomies and post types. Within the theme there is a whopping 7 template files including the functions.php and style sheet.

Maybe another example makes more sense. I recently converted a client site to Genesis. The previous theme had nearly 2000 lines of code in the functions.php file alone, plus several lib files that were called for specific tasks like loading meta boxes, creating custom post types, and various other theme components. Then they had about 30 other template files including multiple header, footer, and php files.

Once I was done the site had 5 template files including the functions.php file and style sheet and the functions.php file had 114 lines of code. The other template files (not counting the style sheet) had less than 50 lines of code. The end result was a much more lean theme and a generally faster site that was also more flexible.
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:52 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.