FAHNZ

MODE

Jan 25 2010

Website Launch GO! Dance Project Saint Louis Gets a New Look

Dance Project Saint Louis

After working on it off-and-on for …what? Over a year? We have finally launched the new website for my wife’s dance studio: Dance Project Saint Louis. Design by Ken, code by me, content by Dance Project.

It’s running WordPress and took me longer than expected to get all the little things worked out. That just might have something to do with the fact that I’m not terribly familiar with advanced WordPress development, nor am I very well-versed in PHP. I did learn a lot on the way though and I kept as much [traditionally] dynamic content as possible. Although I will admit I hard-coded a few items. One big one being the primary navigation.

Hard-coding the primary nav has it’s benefits though. I like being able to use lengthier, more descriptive names on those pages while keeping the primary nav link text nice and short.

Also started using MailChimp as our email list management service, thanks to their generous “Forever Free” accounts. Up to 500 subscribers and 3000 sends per month should do us well for quite some time. I was having trouble getting their code to work in the new site, but their customer support (via chat) was very responsive and helpful. The person on the other end was knowledgeable(!) even with my technical questions. Ended up being some kind of conflict with other jQuery code, so the help he (or she) could provide was limited, but like Simple Motives, I’m always impressed by good customer service and by knowledgeable support staff.

So, please, check it out. If you’re in St. Louis, sign up your daughters. If you’re a fellow dev, then constructive criticism is welcome.


Jul 8 2009

WordPress Default (Kubrick) Template Reference

In modifying the default “Kubrick” theme for WordPress, I didn’t find a concise reference for all the files in the theme directory, so I put one together:

WIDE (SINGLE) COLUMN PAGES
404.php            wide-column standard "Not Found" error page
archives.php        wide-column archives listing page, by month and by category
comments-popup.php    full-page used for when the option to have comments area popup in a new window (not turned on by default) (http://codex.wordpress.org/FAQ_Working_with_WordPress#Can_I_have_popup_comments.3F)
image.php        wide-column page used for viewing a "linked-to" image resource (supercedes generic attachement.php)
links.php        wide-column links (bookmarks) listing page (ignores page content if chosed as the template to use in the admin section)
single.php        wide-column page used to display a single post with comments area

NARROW (TWO) COLUMN PAGES
archive.php        narrow-column archive view page, shows filtered archive view (ex: by month or category)
index.php        narrow-column root template file, used for everything if other page templates are not present
page.php        narrow-column page used for "pages" created in the admin section
search.php        narrow-column page used to display search results

INCLUDES
comments.php        used for inserting comments area and functionality into pages, present in image.php, index.php, single.php
footer.php        global footer (includes closing tags started in header.php)
header.php        global header (includes opening tags closed in footer.php)
searchform.php        optional include that will be used for search form template, used in sidebar and on search.php
sidebar.php        global right-side column, includes search form and list-based navigation elements

OTHER
functions.php        optional global PHP functions automatically loaded by WordPress if present

This is probably out there somewhere already, but hopefully this will come in handy for someone else as well.