888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

February 28, 2008

Themery Blogged Title

This is the fourth post in my series, Themery : Blogged, where I blog about each step of a WordPress theme design.

One area that I didn’t sketch out in my initial plan was the archives. This wasn’t a deliberate choice; I just didn’t have any real ideas about it and so I have left it until the main content was done.

I consider archives, categories, and tags to be minor variations on the same page and so I am considering all of these together.

There are two main challenges for the design of these pages: how to create the third style of navigation that is consistent with the look and feel of the rest of the site navigation, but which works in quite a different way, and secondly, how to handle the extra heading. I’ll look at these in reverse order.

I’ve run into this problem in the past. I have created my single post page and so decided on the way I want my post titles to appear and then found that I need to place another title above those to explain that this is an archive page. If I was creating the markup as well the issue would be one of changing my post titles from an H2 to an H3.

Even if I just accept that I will do that I then need to decide if I should keep the same styling for the page title as for other h2 tags used across the site, meaning that it will look like a page title and the page titles will look like lower level titles, or whether I should make the post titles the same but in the process cause my different levels of header to be inconsistent throughout the site.

There are other markup issues but I will discuss those later on in the post.

The decision I have come to is that consistency is very important. The post page has one header, and I don’t want to impose a higher order header above that, even when the page contains more than one post title. The post titles are the top level header, even where there is more than one.

My solution then is to add a header to the navigational structure to explain how the user is navigating, instead of explaining what the user is looking at; i.e. you are navigating through the archives, and not, you are looking at a list of posts from the archives.

With that decided I need to consider how to put together the third style of navigation that the site has. The first being site wide, the second style is post specific, this is the intermediate step.

The navigation needs to fit in and around the list of posts so that it feels consistent with the theme as a whole. That means it must fit into one of the spaces that I have already defined from the single post pages.

Theme Archive

My solution is to use the space to the left, used in the single post for text devices, to list the possible archives and to incorporate the paging options into that list so that they are displayed beneath the active archive page in the list.

This uses spaces that are already defined in the scheme and only creates one navigational structure. It is fairly common to include the paging links at the bottom and top of the list of posts and this would have been out of place in this design.

Finally there is area the other markup issues.

So far I haven’t intended the post title to be a link to the post, as it is in most themes. If I make the page title a link on the archive pages, but not on any other pages is that likely to cause confusion, and, if I use a link beneath the page title as I used for categories and tags beneath the title of the main content is that going to be intuitive enough?

Instead of making the page title a link, which I prefer not to do for consistency, I have included a ‘read more’ link in black text to make it stand out much more. Even though I have generally avoided black, using it in small doses as a highlight option seems to work well.

Although I haven’t talked about the markup I will use to build the site, mostly because I haven’t consciously considered it until now, there are some semantic considerations that I think are interesting enough to consider at this stage.

The first is the what kind of header to use.

This theme has no site title. Quite often an H1 tag is used for the site title and everything else considered a sub heading of that. Personally I don’t think this is logically correct, but it is a sort of de facto standard. Without a site title I am free to use the h1 tag for the post titles on the single pages, and by default therefore as the post titles in the archives. Each post is, after all, on an equal footing.

Diagram of post headers showing possible list tags

The issue specific to these style pages is whether to treat the posts as a list of posts, or as separate topics on a page; i.e. should they be wrapped in an ordered list to define the list relationship or is it enough that each post title is an H1 tag?

There is no doubting that they are a list, but is there any benefit to be added by marking it up as a list?

Because I am using H1 tags I don’t think there is a semantic benefit to using lists; however, if I had used a page title of archives and the posts were H2 tags then the case would be less clear.

Tomorrow I am going to consider the home page, and then, starting next week I will start to create the actual theme itself and look at ways it can be raised from a relatively straightforward minimalist theme to a theme with hidden depths or personalisation and usability.

Html 5 Gallery
Html 5 tabs?
6 comments
page 1305
Updating Code Snippets Here
Rewrite specific category wordpress?
no comment
page 1338
Updating Code Snippets Here
Rewrite specific category wordpress?
no comment
page 1338
Updating Code Snippets Here
Rewrite specific category wordpress?
no comment
page 1338
Updating Code Snippets Here
Fun wordpress theme?
no comment
page 1338
Creating Custom Urls
Addactiontemplateredirect?
6 comments
page 80
Six Million Ways To Die Choose One
Very simply way of die?
14 comments
page 1128
Wordpress Chat
Wordpress chat?
3 comments
page 1308
Quick N Dirty Admin Login Screen
Loginhead?
no comment
page 128
Html 5 Gallery
Photo gallery html 5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress show image size in posts?
26 comments
page 1065
Why I Ditched Disqus
Intense debate turn off comments on pages?
5 comments
page 1175
Post Image The Easy Peasy Way
Cant select large image post wordpress?
26 comments
page 1065
Html 5 Gallery
Wordpress html5 player plugin?
6 comments
page 1305
Updating Code Snippets Here
Wordpress themes fun?
no comment
page 1338
Using Your Own Url Shortener
Create your own short url wordpress htaccess?
4 comments
page 1190
Updating Code Snippets Here
Fun with wordpress?
no comment
page 1338
Updating Code Snippets Here
Khottie11?
no comment
page 1338
Updating Code Snippets Here
Khottie11?
no comment
page 1338
Wpunlimited The Ultimate Wordpress Theme
Rocket themes cant get wordpress sample content?
3 comments
page 1141
Html 5 Gallery
Wordpress html 5?
6 comments
page 1305
Post Image The Easy Peasy Way
Php image links array?
26 comments
page 1065
Updating Code Snippets Here
Wordpress html5 plugin?
no comment
page 1338
Using Your Own Url Shortener
How to create a url shortener?
4 comments
page 1190
Html 5 Gallery
Wordpress html5?
6 comments
page 1305
Does Wordpress Need A Search Function Any More
Wordpress search function?
11 comments
page 610
Why I Ditched Disqus
Wordpress hosted disqus?
5 comments
page 1175
Post Image The Easy Peasy Way
Wordpress theimage?
26 comments
page 1065
Wordpress 25 Exif Fields
Y8 love?
12 comments
page 230
Are Child Themes The Best Option
Thesis child themes?
15 comments
page 1262
Html 5 Gallery
Wordpress html 5?
6 comments
page 1305
Wpunlimited The Ultimate Wordpress Theme
Html5 wordpress theme?
3 comments
page 1141
Fun With Theme Widgets
Wp widget interesting?
24 comments
page 867
  1 query every 1633 seconds, updated 1 seconds ago.
Post a comment?