| Home | Forum | Advertise | Contact Me | About WPTavern | WPWeekly Show Info |
![]() |
| |||||||
| Themes And Templates Anything and everything dealing with themes |
![]() |
| | Share | LinkBack (2) | Thread Tools | Display Modes |
| ||||
|
Lol, I'll stay up then! BTW, what I'm talking about at WordCamp NZ is posted on their site ... http://wordcamp.org.nz/call-for-spea...nt-ideas-wiki/ |
| |||
|
Ok here's my video reply. I had stupid problems with the video and it took forever. Sorry. This video explains why I think the Carrington theme by Alex King is so important... http://bit.ly/jhjHi Comments welcome here or on my blog. -Alister @alicam |
| |||
|
Otto, I agree with you on everything you've said, but can see that you have not understood my point. I used the example of Sandbox and CSS to explain what Carrington does to the markup, NOT to suggest that CSS is what Carrington does. As you said, the whole semantic classes thing is "put to bed" now, well and truly, with the inclusion of those in WP 2.8, as I said in the video. What I WAS trying to do was use that Sandbox story to highlight was Carrington does with markup. I was trying to highlight that what Sandbox allows us to do in CSS, Carrington allows us to do in the markup. That it's not an either/or scenario (CSS or markup) but now both. Carrington allows you to modify the HTML markup (i.e. output) at a very granular (or as Alex puts it, "atomic") level. So, for example, if you want to change the HTML slightly for every comment by the post author, can do. Want to change the HTML in all posts that have a custom attribute of "fred", then you can. Want to add something to the HTML of the loop when you're in category "boloney", then you can, etc. As I said in the video... it's not that you CAN'T do that in ANY theme, for argument's sake, but that in attempting to do so you'd more than likely end up with spaghetti code full of if statements or a switch with a lot of cases. Either way, not a setup that would help your users work out what's going on. Compare that to what, frankly, I think is a very elegant solution in Carrington. It's well laid out, if follows WordPress conventions, and it's clean. The fact that you're confused MIGHT just mean you don't get the power of it yet, not that it's lousy! As a specific example... I have asides on my blog. At present they're "pure CSS", which means I'm turning off a bunch of stuff although it still renders in the markup. It's good, but it's kinda silly to get the PHP to process stuff that's just going to get "display:none" in the CSS. So, in Carrington all I have to do is add a new file to either the /content or /except folders (depending on whether I display excerpts or full posts on index/archive pages), modify the PHP/HTML there and I'm done! Carrington will do the rest and I'm not mangling my index.php template file with one of possibly many if statements of switch/cases. Get it? I accept that for a bog-standard WordPress theme with no smarts Carrington is not going to have opportunity to "show off" but start building a business or magazine site with a blog, gallery, product pages, faq, etc and all of a sudden you're moving a long way from "plain vanilla" and Carrington comes to life. All this explains why for Vanilla -- a theme I am building for the most robust of applications -- Carrington is a worthy inclusion, IMHO. I will do a video to explain how Carrington works in more detail ASAP. -Alister Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.wptavern.com/forum/themes-templates/556-whats-hardest-theme-stuff-do-wordpress.html | ||||
| Posted By | For | Type | Date | |
| Why Alex King’s Carrington WP theme is great. | This thread | Pingback | 06-08-2009 08:33 AM | |
| What's the HARDEST theme stuff to do in WordPress? - WordPress Tavern Forum | This thread | Refback | 06-08-2009 01:12 AM | |