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.

Using Your Own Url Shortener
Short url?
4 comments
page 1190
Why I Ditched Disqus
Styling disqus widgets?
5 comments
page 1175
Wordpress 25 Exif Fields
Wordpress exif?
12 comments
page 230
Html 5 Gallery
Html 5 gallery?
6 comments
page 1305
Dont Mess With My Toot Toot
Fun with toots?
16 comments
page 599
Dont Mess With My Toot Toot
Fun with toots?
16 comments
page 599
Converting Wordpress Themes To Habari
Habari timthumb?
one comment
page 694
Wordpress 25 Exif Fields
Habari timthumb?
12 comments
page 230
Fun With Sidebar Tabs Styling
Tabs with html css on same page javascript?
2 comments
page 336
Using Your Own Url Shortener
How to have own url short?
4 comments
page 1190
Post Image The Easy Peasy Way
Insert conditional image php wp?
26 comments
page 1065
How To Add Sidebars To A Theme
Wordpress sidebar above main sidebars?
11 comments
page 1053
Using Your Own Url Shortener
Run short url using htaccess?
4 comments
page 1190
Dont Mess With My Toot Toot
New posttype not displayed wordpress?
16 comments
page 599
Quick N Dirty Replacement Text
Wpupdatepost object?
no comment
page 122
Html 5 Gallery
Html5 simple wordpress theme?
6 comments
page 1305
Updating Code Snippets Here
Fun wordpress plugin?
one comment
page 1338
How To Add Sidebars To A Theme
Wp register sidebars?
11 comments
page 1053
Html 5 Gallery
Html5 wordpress theme?
6 comments
page 1305
Post Image The Easy Peasy Way
Get post images?
26 comments
page 1065
Updating Code Snippets Here
Wordpress fun plugins?
one comment
page 1338
Post Image The Easy Peasy Way
Wordpress get first image large?
26 comments
page 1065
Using Wordpress As A Php Framework
Wordpress create your own framework?
2 comments
page 335
Improve Your Typography With Plugins
Wordpress typography plugin?
one comment
page 721
Quick N Dirty Replacement Text
Dirty replacement?
no comment
page 122
Post Image The Easy Peasy Way
How to post all gallery images in one post wordpress?
26 comments
page 1065
Post Image The Easy Peasy Way
Get attachment by post?
26 comments
page 1065
How To Add Sidebars To A Theme
How to add pages in footer wordpress?
11 comments
page 1053
Html 5 Gallery
Html 5 tab?
6 comments
page 1305
Wordpress 25 Exif Fields
Exif info display wordpress?
12 comments
page 230
Using Your Own Url Shortener
Tiny urls htaccess?
4 comments
page 1190
Six Million Ways To Die Choose One
6 million ways to die so i chose?
14 comments
page 1128
How To Add Sidebars To A Theme
Wp register sidebars?
11 comments
page 1053
  1 query every 1450 seconds, updated 1 seconds ago.
Post a comment?