Monthly Archives: March 2008

WordPress Theme IAMWW W2 DnD Version 0.80

I have made some very minor updates to the IAMWW w2 DnD WordPress theme.

Some padding

Thanks to a question by Malcolm Coles:

When the browser is less wide than the page, the character at the start of each line is so close to the browser border that it becomes a little hard to read.

I have now added a 10px padding to the sides of the main container. To prevent the content from being slammed up against the sides of the browser when the view port is narrower than the page.

Some tagging

In version 0.80, I also added the ability to display a posts tags on the respective post’s page and along with post excerpts in the archives.

WordPress Theme: IAMWW w2 DnD v0.80

Due to tagging only being supported in WordPress 2.3+, there are now two versions of IAMWW w2 DnD available. One for WordPress versions older than 2.3 and one for versions equal and newer.

Please let me know in the forums if anyone finds an issue.

Textpattern How To: Add Dynamic Body Classes to Your TXP Theme

Being able to dynamically generate and call data is one of the greatest things about building a site with a content management system. Why should the power of a CMS engine be limited to storing, retrieving and displaying content? Why not also use this engine to generate classes within your HTML that can also may your site’s design dynamic?

When I began working on designing a theme for Textpattern, I was heavily influenced by my previous work with the Sandbox WordPress theme. The dynamically generated semantic classes made things possible only using CSS that required editing the HTML/PHP template files before.

Inspired by a recent tutorial by Elliot Jay Stocks on how to add a dynamic body class or ID to WordPress themes and a comment made by Sam Brown, I thought I would share how a basic implementation of this can be added to Textpattern.

Making Textpattern add some Sandbox style

With the use of the TXP template tags and the built in conditional statements, I was able to add some basic dynamically generated classes to my site. Read More »