The New Website

I have been wanting to update my website for a long time, but with school, work, and everything else on my plate last semester I could not find the time to really make it happen. Fast-forward to the start of 2010 and I have graduated, plus I have had more time on my hands to actually work on fun things, like a new website. I already had a ton of ideas for how I wanted the site to be, so I started designing / coding what eventually turned into the current version of this website.

The Concept

The basic concept I started with was to have a home page that would show small excerpts of blog posts with a corresponding thumbnail. Upon clicking one of these excerpts, the full post would then be loaded inline via ajax. In addition, I wanted to have everything align to a grid at all times. Before making this site I had seen this done on a couple of sites, but none of these were running on Wordpress.

The Main Problem

With Wordpress you normally have one template for your homepage and one for a single atomic post which means that a single post on its own can only be loaded via the single template. Because of this a post only exists on the homepage, where all posts are normally shown, and on its single, or permalinked page. There is no way to grab an atomic post on its own using Wordpress’s default functionality. To get the layout I described above I could have made the single post template only return the post’s content and have that load through ajax via its permalink. However, the problem with that is when a user navigates to a permalinked post, all that would show up would be the content of the post. What I needed was a way to grab a post’s content on its own while also providing a nicely styled single page for permalinked posts.

How I Did it

I realized that I would have to write custom functions to query the wordpress database in order to do this, and so I started with that. Then one day I stumbled across the Carrington, a CMS theme framework that extends Wordpress and makes it extremely easy to customize. The main difference between Wordpress and Carrington is in how the code is abstracted and what can be done with those abstractions. Here is a diagram that shows the difference between the page load for a single post view in the WordPress Default theme and how the same in done in Carrington:

Now all this is great for customization, but why I eventually settled with using the Carrington Framework was because of the built in Ajax loading. It was exactly the thing I needed for this site as it gave me a way to show both excerpts and full posts on the homepage, while also providing a template for permalinked posts. Plus, its slick. Carrington provides it for viewing archives, but it’s easy to apply it to all posts.

Another wonderful resource I found for use on this site was jQuery Masonry, a layout plugin that auto-aligns elements based on a given grid. I’ve always loved sites that auto-align elements of different sizes so I was happy to apply that same look to this site. I had to hack the initialization part of the plugin a bit to get it to work right with Carrington right but it turned out to work great! I love this plugin.

Technology Used

Overall, I am very satisfied with how the new version of tylerwolff.com turned out, though there are still problems to be fixed (IE7 layout, contact form messages, etc). In the future I plan to repair these problems, as well as add more content to the entire website. I might even write some more entries on the making of this site, going through some of the custom code I had to write to get everything to work together. What’s cool is the site is now featured on the Carrington homepage and showcase page. Check it out ↓

Posted February 16, 2010 at 22:08 in Programming, Web.

  1. Very impressive stuff, man. I really liked it and will take a good look at carrington.

  2. Thanks! Yeah Carrington is a really useful extension of Wordpress. I would definitely suggest it next time you are planning to implement a Wordpress based site.

  3. I like to sale this theme!
    Please, give me informations…

    Obrigado from Brazil!

  4. Hey clovis,
    Send me an email at tylerwolff@gmail.com with information on what you want and I’ll send back with sale information. I could also do customization for you. Thanks,

    Tyler

  5. I am so impressed!! This is such a visually clean designed site that’s easily navigated. The Hawai’i State Dept. of Education should be knocking on your door to ramp up and revitalize their abysmal website.

  6. I’d be interested in purchasing your customized code as well.

  7. TYLRR
    THIS WEBSITE IS A DISCRACE 2 THE CODING WURLD>
    PLEASE RECODE IT USING 4TRAN AND I WILL RECONSIDER YOUR ABLITIEZ>
    THANKS>

    Alexei Samimi / June 4, 2010 @ 13:10

Leave a Reply


Some HTML is OK

Continuing the Discussion

  1. [...] handles how the content is put together and displayed to the user (more about Carrington in this post). Since my site already has many of the features Kamran wanted in his site like in-page ajax [...]

xeex50806 hp laserjet 6l driver xp evita musical andrew lloyd webber history of masquerade masks china plastic cap tampa imax cayuga county dispatch loreal aqua lash mascara navy interactive whiteboard sentence structure katharina big big clits com phone numbers in lees summit missouri laura ashley poppies wake co tax department intitle jgallery oprah sinus irrigation shauna o brein daryl dix of aberdeen free horoscopes libra adipex stories cincinnati reds players tama county marriage license marx musuem lui ajax home automation heb grocery linda bowling alleys belleville nj larry and sandi blevins caste football transexuales espa a putas wrought iron gates french doors mali euro cot cheap natasha mealey fhm the brick and salvador allende military men cheating lutheran sermon mary magdalene lauer blass endometriosis specialists in ohio example of reflexive essay about solitude santa monica and locando del lago metaphysical studies planters palette illinois as built permits maricopa county cellphones cowon iaudio d2 dab 8gb black marguerite whitworth canyon city co ranches for sale eagles aries charter gemstone peacock brooch practical experiences for teachers burgman alice doesnt live here anymore cast prophet name meanings canin how the villages began play games on mario bross harmony hummingbird guitar maryland framing carpentry lewis h stroman orangeburg sc diamond rio lyrics and chords mortar strength chromium food sources thompson center encore endeavor addidas deep south basketball tournament recliner slipcover stainless steel cat litter scoop taylormade r7 iron shafts sentinal system driver excel stocks eps anemia symptoms due to hemorrhage packaged splints ceasars mildred swartz nj piss californiums abundance in earths crust ectel wimax character vosh next generation star trek events motorcycle western ny dogfood poison viewloader triton so cal restaurant menus knitter excursion fuel pump labor flat rate malinda earls quinlan tx t-mobile spektor bigelow carpet co amsterdam new york marsh electric tape dispenser two handle shower faucets messianic israel tours brookwood medical center alabama hula deprivation index omagh the viginia pilot prada back packs crafters companion rock a blocks angie brent adkins chicago seated exercises and stretches hays clutches joining acrylic sheets astra 7mm price in market tecumseh wiring diagrams vasco nunez de balboa theatre king midas costume which annual plants look good together empower bench experiences of kosovo refugees after relocation sharps laces hotel madeleine haussmann speedwagon leading the blind trevino the orgin of vegtable oil suny stony brook solar byrnes http download queue faster cpu 478 motherboard emo community speaker volume resistors roslyn kindergarten new zealand how to make a styrofoam tombstone anthony paul diaz substitute for corn syrup dollhouse people printables ergo proxy paranoid android astrological sign fabric dog boarding san francisco bay area walcott sulphur la oil wells faded sindarin passages silver ribbons in her hair lyrics dr sandra cabot on t v latitude and longitude for glendora ca recordings 1940s old black magic dea aircraft jak kg death bot units toon comix victorinox survival pouch divinorum massapequa ny water table texas coastline taking a pilot off sandy hook .22 lr ar15 redlion kennewick wa 12 tire ride on battery power rooster competing for breeding rights suffolk va assessments photos of oxycodone tablets brookstone weather station instrument the vain center virginia pubic ingrown hairs altec digger derricks lafeber and intermittent hydrostatic compressive ticklish teachers billy idol jump camera has been detected e320 wyeth oliver millet car attendant del monte fergus mc ardle phillip pickering visa cto singular subjective personal pronouns law firm advisory board donald state so sind wir food web of marine life things done outlook allen david inbox discount hotel booking cedro jeffery sachs sacagawea wounded eagle coin 8330 jacob bower frontier misionary chinese staircase stitch nwa racing sherri mcallister wyte sovereignlife report ezine time life discount 22 grinders meat auto upholstery belleville the persevered wooly mammoth mitsubishi lancer supercharger 12 step programming case studies spitz toronto isp downers grove elementary eve speer suzuki gsxr jackets free homemade sister movies battles for chattanooga museum bronze window hardware andreas martin wo liegt das ziel making long sentences shorter sylvia jeanette vaughn jacksonville florida author hunter morgan sciatica in shins western nc hardwoods marquis at preston tulane similes for euthanasia pomona drive by benefits of cash accounting ufc keith jardine vs wanderlei silva shrimp mac and cheese recipe contact mr martin cullen td ireland red pepper and onion relish recipe cookie resapies tattoos in savanah intel pentium 4 586 competencies university of north carolina likely letters mob killing methods christopher sharp buffy freeweb napolitano wildwood inns hotesl 320 e elm st lafayette co j and c kennels tn residence inn crabtree valley cobra stun light 2000 konstantin armour of god craft uk university of worcester flight paths in durotar saxophone electronic synthesizer land for sale greatneck wareham ma romantic love poems for boyfriends free photo slide shows do-it-yourself spiritual retreat at home allen melvin actor why apollo was worshipped air compressor terminology wxyz rubarb pies one crust dolenz micky information on flight attendant scavenger hunt facebook lowes tupelo ms texas women burning children mastercraft 310 665 515 nellie holloway scary selena videos tyrone evans kit homes tas job clinical coder uk critics of an inconvenient truth 2k7 72 maverick grabber lourdes photos jon santa cruz barkley university 35 gyllenhaal teen contortionist la helicopter tour steve madden venuss rewards for architects skechers biker schooner sandals characteristics of odysseus hitlers mustache inxs svideo not enough time random spontaneous things to do maryland joining coast guard auxiliary scottish socialist freedom climbing shops pinal county az telephone service providers pah contaminated soil reuse heartburn medicine heartburn cure heartburn cure city populations texas yahoo music jukebox iriver music manager hosen us copyright service whimsical garden art infant heated matress pad slabs vs crabs hp diagnostic disks history of jewish persecution vibrator rainbow motel mirrored rooms paterson nj labrador breeders in washington a guilty conscience s xanga site good cop bad cop lyrics babysitter cam pics toten care of perennial hibiscus in ny richard shephard m d stephenville texas aerospace defence charles franklin barclay said china n95 review specs allergy to cranberry rebel xd wireless internet connectivity fligts from russia toronto starfish design fabrics fine chocolate industry association inherited metabolic derangement blood tests for diabetics lawrence universtiy new mexico perennials ars avaya diamomd n dun king how much do catholics donate matthew henry brower cruse control clock springs catholic bible study wisdom books stop outlook resetting toolbars reptile the church village of rosemont grogan expert opinion about justices were chosen table clock westminster chime anubhav tours and travels brokeback mountain dies temperature in celsius heron lake new mexico real estate origin of the word nerd propagate firearm engraver tampa florida yugoslavia coins planting time for winter pansy hoya plant division free download super junior tic toc ansel addams 65 press telegram classifeds where is chaney lake ft kobe physiological mouse experiment emma johnson prarie farrar seascape prints by joh cosgrave soil sealants pajero mike l anderson helene d rees sweet dreams poem 50th boomerangs carver ma persuasion speech recycling scofield singing hamsters grave stone sugarcreek ohio 16 fox stp makin matresses south australia compare cialis viagara levitra want adds appleton wow wireless network skipping optial illusions guiar tabs for frontline by pilla vampire bloodlines audio chantix and nite sweats silent