One of the best things about WordCamp Utah was the opportunity to launch Carrington – a new theme; but more importantly, a new theme framework for WordPress.
I wasn’t exaggerating (that much) when I characterized Carrington as the best thing since the wheel and sliced bread. I really feel like this has the potential to be the largest contribution I’ve made to the WordPress community. I’m very excited about it.
Enough self-congratulation – on to the good stuff.
What is Carrington?
Carrington is an attempt to better abstract WordPress theme organization, and simplify commonly needed theme functionality.
At the moment, Carrington is basically three things – in this order:
- A developer friendly theme and conventions-based templating system.
- A set of best practices for theme organization.
- An elegant, semantically rich WordPress theme for end-users with advanced features (like SEO-friendly AJAX loading of comments and archives and drop down navigation menus).
How Do I Get It?
Carrington is released under the GPL, just like WordPress. You can download it from the WordPress theme directory. You can also purchase Carrington from the Crowd Favorite store. This isn’t required, as we also make it available for free; but Carrington is definitely a premium
theme and has real value. The more people purchase it, the more we can dedicate resources to improving it and building new Carrington themes.
Download Carrington Blog version 1.1
Carrington Blog is our first theme released on the Carrington framework.
Changes in Version 1.1
- There is now a setting to allow you to set how many posts should appear on the archives pages (seperately from the home page).
- Added parent-{page-slug}.php support to enable custom content display for sub-pages.
- Support cat-{slug}.php, etc. template support throughout all top level directories (header, footer, sidebar, etc.).
- Some IDs were converted to CLASSes to remove in-page ID conflicts (due to AJAX loading of templates).
- Firefox 2 compatibility for drop-down menus.
- Improved ShareThis compatibility with AJAX archives loading.
- Additional classes for misc. support.
Why Did We Build It?
At Crowd Favorite we build a lot of “WordPress as a CMS” powered web sites. WordPress makes a great, easily customizable, CMS back-end; and Carrington is the perfect compliment for it on the front-end.
We wanted to simplify how we built these highly customized sites. We wanted to make them easier and faster to build, and simpler to maintain. Carrington is our solution.
Framework = Convention Over Code
The main win from a framework is the move to convention over code. Instead of writing a bunch of code to accomplish something, using the supported naming conventions and the framework takes care of the heavy lifting for you.
By standardizing file naming conventions and template hierarchy (while retaining compatibility with WordPress theme standards), and including functionality to act on these standards, Carrington makes it dead simple to implement commonly requested theme features. These include a custom design/format for:
- posts in the “Tech News” category
- posts by a Joe Smith
- posts by contributing authors
- comments by the post author
- comments by registered users
- search results
- custom footer/header/sidebar for page X or category Y
- etc.
Carrington allows you to stop cluttering your templates with conditional logic and just build your templates. The framework will take care of the logic for you.
The Details
The WordPress engine prepares data for a page and hands it off to the theme and it’s the theme’s job to make that look right to the end user. Carrington takes that data, and makes a bunch of intelligent decisions about how the page should be displayed.
The override system looks at the page to display, and the available templates, and goes through a series of checks to see which templates to use at each level. Don’t worry; you aren’t stuck with the evaluation order we chose. The order in which the fallbacks are processed (and the final decisions on templates) can be overridden by plugins using actions and filters – using the standard WordPress system. This means that if you want your author role template to be more important than your category template (or vice versa), it’s a simple matter of a couple line plugin (and can even be placed in Carrington’s plugins/ directory for easy distribution with the file). Of course, we are happy to provide development services to help build these plugins or customizations.
The core of the Carrington engine is in the function.php and functions/ directory. That’s where the magic happens. The rest of the theme is organized into template files in different directories. There are a lot more directories here than you normally see in a WP theme because Carrington abstracts the theme elements to their atomic pieces. This enables you to have a template that displays a post, comment1, etc.
These atomic templates enable the AJAX loading features you see in Carrington. People have long asked me to release the AJAX loading features you see on this site, but I couldn’t really do it (until now) because it required this kind of theme abstraction and most themes don’t support it.
Every directory in Carrington has a pretty thorough README file (you can also access this documentation online). These files explain how the templates in the given directory are used, and what named templates are supported for this directory. These took a while to write, and could probably use some more detail (I’m not a tech writer), but they are a very good start and have been part of Carrington since 1.0.
Online Resources
This is still a little bit in-flux, but we’ve got the following set up so far:
Carrington’s Future
Expect to see some new themes from us based on the Carrington framework in the future – we’ve just scratched the surface of what Carrington can do here. We’re excited to be bringing new Carrington-based themes to the community; and we’re equally excited to see what the community builds with Carrington.
- Similar to the new comment template in WP 2.7. [back]
This post is part of the project: Carrington Core. View the project timeline for more context on this post.
Hey Alex
A great theme, iv just checked it out on wp-themes.com and the comments dont seem to load up properly, maybe its wp-themes.com acting up. carringtontheme.com seem to be working fine tho.
I cant wait for developers to start adding the ajax comment loading, its a really nice feature!
This is very exciting. Thank you.
Great work Alex. I saw the initial tip on Ma.tt and downloaded immediately. I hope this is a successful project.
Awesome, been waiting for this. Can’t wait to get it up and tested.
Congratulations again Alex and the Crowd Favorite team. Marvelous contribution to the WordPress community.
[…] 今天è¦ä»‹ç»çš„这个主题 - Carrington,éžå¸¸å¼ºæ‚,它ä¸ä»…仅是一个主题,更是æä¾›ä¸€ä¸ªæ¡†æž¶ï¼Œæœ‰åˆ«äºŽä½†å…¼å®¹å®˜æ–¹ä¸»é¢˜ã€‚ 全新设计的主题结构能够让主题使用者更方便地自定义。个人感觉是相当有潜力的主题框架,更多功能请查看:Introducing Carrington ä¸‹è½½åœ°å€ | Live Demo预览 | 文档 | è´ä¹°è¯¥ä¸»é¢˜ PS:该主题éµå¾ªGPL,是å…费主题,当然if you wish,å¯ä»¥è´ä¹°æ”¯æŒä¸‹ä½œè€… Tags:WP|主题 […]
Wow, nice theme. I am really impressed with the enthusiasm of the WordPress development community. I use wordpress for all of my sites, and currently have 3 installations running on my web host. It is the excellent themes and plugins that make it so powerful, and I am excited to see the care that is taken to continue improving the usability and scope of wordpress. I look forward to playing with Carrington and seeing where it takes me in my own development. Thanks for the hard work.
[…] Introducing Carrington | alexking.org. Written by marshal in: Uncategorized | […]
[…] King baru saja merilis Carrington — apa yang dia sebut dengan tidak hanya sekedar sebuah theme tapi juga theme framework. […]
[…] Introducing Carrington | alexking.org This is why I love wordpress… (tags: wordpress carrington alexking) […]
Excellent theme, thanks for posting.
Looking at the code, looks like a very powerful framework. Looks like more of front-end for developers than an out-of-the-box for more simple website owners like me … true, or is it also intended for those like me who are not so astute in coding?
If I wanted to turn it into a two-column theme, with about a 540px content area, would that require a good bit of CSS manipulation or code manipulation?
Good luck with it. Your designs are always clean and very friendly to the eye.
I have to say, this theme is simply excellent. I’ve been contemplating paying $70 for a theme from Woo Themes for my site, and I may still end up doing it… but I won’t need to for a long time with Carrington in place.
Simply an excellent theme. Thank you for all you do for the WordPress community, Alex!
[…] I saw a news item on my WP dashboard announcing a new theme by Alex King. I’m a big fan of Alex’s work, and decided to give the theme a try. As you […]
Am trying it out on a test site and noticed that, when comments are turned off, the “comments off” text appears right next to (crowded up against) the date of the post, and slightly (a couple of pixels) offset horizontally. Would have reported in forums but I do not have forum access.
The more I look at the theme, though, the better I like it. Very nicely done.
Thank you firstly for this great theme and secondly for making it available free-of-charge! I’ve implemented the theme on my blog and have received favorable comments on it.
[…] però ad un redesign (per il quale già stavo valutando alcune novità in termini di temi, come Carrington, un tema molto innovativo nella struttura tecnica, oltre che piacevole da un punto di vista […]
[…] Introducing Carrington Alex King unveils a new theme framework for WordPress. […]
[…] Carrington […]
After seeing the theme breaks when clicking on comments on front page decided to download it and give it a test on a sample blog.
It seems it has something to do with wp-themes as it’s showing just fine on my blog.
Yes, the demo site WP hosts doesn’t seem to work right. you can see it working at http://carringtontheme.com
[…] Carrington, Dougal cree que es la nueva generación de themes para WordPress y nos es de extrañar ya que nos permite tener un theme realmente ordenado gracias a un sistema de directorios completamente nuevo en el mundo WordPress y una estructura de código limpia y abstracta que nos permite definir las más extravagantes combinaciones. […]
[…] Carrington, Es theme realmente ordenado gracias a un sistema de directorios completamente nuevo en el mundo WordPress. Archivado en Diseño Web, Miniblog Deja aquà tu comentario ↓ Etiquetas css, Diseño Web, html, php, themes, wordpress e m w y g t d s ← artÃculo anterior […]
[…] Carrington […]
The theme looks good Alex, and surely i’m interested where you guys are going to take this theme in the future.
[…] Alex King Releases Carrington […]
[…] qualche giorno sto sperimentando, sul mio sistema, il tema “Carrington” sviluppato da Alex King e Crowd Favorite. Si tratta di un tema molto innovativo, non tanto dal punto di vista grafico, […]
[…] qualche giorno sto sperimentando (non ancora in produzione) il tema “Carrington†sviluppato da Alex King e Crowd Favorite. Si tratta di un tema molto innovativo, non tanto dal punto di vista grafico, […]
[…] Carrington […]
[…] Introducing Carrington Carrington is an attempt to better abstract WordPress theme organization, and simplify commonly needed theme functionality. […]
Brilliant theme, actually would be prefect for my blog. thanks for it mate.
This I dare say is the perfect 3 column theme. Thank you.
[…] qualche giorno sto sperimentando, sul mio sistema, il tema “Carrington” sviluppato da Alex King e Crowd Favorite. Si tratta di un tema molto innovativo, non tanto dal punto di vista grafico, […]
[…] però ad un redesign (per il quale già stavo valutando alcune novità in termini di temi, come Carrington, un tema molto innovativo nella struttura tecnica, oltre che piacevole da un punto di vista […]
[…] PrimePressã‚„Thematicã‚‚ãŠã‚‚ã—ã‚ãã†ã§ã™ãŒã€å€‹äººçš„ã«æ³¨ç›®ã—ã¦ã‚‹ã®ã¯Carringtonã§ã™ã€‚Carringtonã¯Twitterã‚„Popularç³»ã®ãƒ—ãƒ©ã‚°ã‚¤ãƒ³ã§æœ‰åãªAlex Kingæ°ãŒåƒã„ã¦ã„るウェブデザイン会社ãŒWordPressã‚’CMSã¨ã—ã¦åˆ©ç”¨ã™ã‚‹æ¡ˆä»¶ã‚’多ãã•れã¦ã„ã‚‹ãã†ã§ã€ãã®èª²ç¨‹ã§ç”Ÿã¾ã‚Œã¦ããŸãƒ†ãƒ¼ãƒžã®ã‚ˆã†ã§ã™ã€‚(注:ã†ã‚覚ãˆã§ã™ã€‚確èªã—よã†ã¨Kingæ°ã®ãƒ–ãƒã‚°ã«ã‚¢ã‚¯ã‚»ã‚¹ã—ã¾ã—ãŸãŒã€ç¾åœ¨ãƒ€ã‚¦ãƒ³ã—ã¦ã„るよã†ã§ã™ã€‚)ã„ã‚ã„ã‚ã¨é«˜æ©Ÿèƒ½ãªãƒ†ãƒ¼ãƒžãªã®ã§ã™ãŒã€ãªã‚“ã¨è¨€ã£ã¦ã‚‚最大ã®ç‰¹å¾´ã¯ã€ãƒ†ãƒ³ãƒ—レートファイルã®ã•らãªã‚‹ç´°åˆ†åŒ–ã§ã™ã€‚WordPressã§ã¯ã€ãƒ†ãƒ³ãƒ—レートヒエラルã‚ーやæ¡ä»¶ã‚¿ã‚°ã‚’使ã£ã¦ã€ãŸã¨ãˆã°ã€ãƒ›ãƒ¼ãƒ ã§ã¯ãƒ†ãƒ³ãƒ—レートAを使用ã€ã‚«ãƒ†ã‚´ãƒªYã§ã¯ãƒ†ãƒ³ãƒ—レートYを使用ã€ãªã©ã®æŒ‡å®šãŒã§ãã¾ã™ã€‚Carringtonã§ã¯ãã“ã‚’ã•らã«çªã£è¾¼ã‚“ã§ã€ãŸã¨ãˆã°WPループ別ã®ãƒ†ãƒ³ãƒ—レートファイルãŒä½¿ç”¨ã§ããŸã‚Šã€ç‰¹å®šã®ã‚«ãƒ†ã‚´ãƒªï¼‹æŠ•稿者別ã«ãƒ†ãƒ³ãƒ—レート指定ã€ãªã‚“ã‹ãŒã§ãã¾ã™ã€‚ãã“らã¸ã‚“ã®å‡¦ç†ãŒfunction.phpã®æ©Ÿèƒ½ã‚’利用ã—ã¦ã€ç‹¬è‡ªã®ãƒ†ãƒ³ãƒ—レートタグ実装ã•れã¦ã„ã¾ã™ã€‚ã¤ã¾ã‚Šã€ãƒ•レームワーク化ã•れã¦ã„ã‚‹ã®ã§ã™ã€‚ […]
[…] Carrington, Dougal cree que es la nueva generación de themes para WordPress y nos es de extrañar ya que nos permite tener un theme realmente ordenado gracias a un sistema de directorios completamente nuevo en el mundo WordPress y una estructura de código limpia y abstracta que nos permite definir las más extravagantes combinaciones. […]
Can we take carrington and customize other things on top of it? Would it be okay if someone changes some parts and colors etc and uses it on his or her blog?
Thanks.
Great theme but it looks like it does not work with Disqus commenting system.
Hello Alex,
I’ve translated your awesome theme in Italian!
The Italian files (it_IT.mo & it_IT.po) are available in format .zip from the link | http://gidibao.net/i[...]in-italiano/
Best regards
Gianni Diurno
[…] with the text, not boxing in captions, etc.). I may take the time to convert this theme to the Carrington framework, but with Calculus 2 and Physics homework piling up, that may take some […]
This is a really cool theme. Personally I like single sidebars on the right but this theme makes the double sidebars look good so it’s not biggie. If there is an updated version of this please let me know. Thanks.
[…] // Alex King, who is most well known for his popular WordPress plugins and more recently, his Carrington theme framework, made a big announcement the other day regarding a project that his company Crowd Favorite has […]
[…] King, founder of Crowd Favorite and one of the pioneers in WordPress themes, plugin development has announced a new service called WordPress Help Center. Jeff has already […]
[…] King, who is most well known for his popular WordPress plugins and more recently, his Carrington theme framework, made a big announcement the other day regarding a project that his company Crowd Favorite has […]
Hi all, I’d love to know how to integrate the comment system with Disqus, because it seems not to work.
When active, doublets of comments in the posts are displayed.
[…] Carrington theme framework – […]
[…] Alex King, who is most well known for his popular WordPress plugins and more recently, his Carrington theme framework, made a big announcement the other day regarding a project that his company Crowd Favorite has […]
Just a heads up, Alex, I am converting Carrington Blog to a Movable Type style. While the work I have done to convert it is released under the GPL since I got it here under the GPL, feel free to take my modifications and make them available to commercial users of Carrington Blog if you want to support MT with it.
Has anyone managed to incorporate the Disqus comment plugin with Carrington in such a way that it shows when the comments are expanded?