My Codelog Theme Modifications
I found the Codelog theme by Alex Günsche two or three weeks ago and have been banging on it to make it do what I want. I’m almost there, but I think my changes are useful enough to release.
The two biggest changes I made were to make the theme widget-aware and to support both fixed- and fluid-width layouts.
Style Changes
- The biggest change is to allow the theme to be either fixed or fluid width.
- Removed the margins around unordered lists to be more consistent with ordered lists.
- Fixed display of the submit button on the Search widget on Firefox.
- Added some table styles to mimic Microsoft Word 7.
- Added code and example formatting styles so that they stand out more. Code and examples can be indented and shaded with a border surrounding them.
- Added a td style to vertically align data in tables at the top of cells.
Layout Changes
- Moved the ‘Edit’ link to the post meta bar and shortened it to just ‘Edit’.
Plugin Support
- Added support for the WP-Email plugin from Lester ‘GaMerZ’ Chan.
- Added support for the WP-Print plugin from Lester ‘GaMerZ’ Chan.
- Added support for the WP-PostViews plugin from Lester ‘GaMerZ’ Chan.
- Added support for the WP-PostNav plugin from Lester ‘GaMerZ’ Chan.
- Added supported for the cross-references plugin from Francesc Hervada-Sala.
Admin Page
Added an admin page for the theme. The following options can be set from this page.
- Select fixed or fluid width.
- Specify the width in pixels if fixed width is selected.
- Specify whether to display the author on posts.
- Specify whether a message about which tags can be used in comments should be displayed below the comment editing box.
- Specify whether the WordPress version should be displayed in the footer.
Resources
Codelog-0.1.1.zip (37.6 KiB, 335 hits)
These changes have been tested on IE7 and Firefox 2.0.0.11 against WordPress 2.3.2 and PHP 5.2.4.
Upcoming Changes in v0.1.2
These are changes that I’ve made to the theme and am using on this site but haven’t released yet. Let me know if you think I should release a new version or want to know how to make these mods yourself.
- Set code styles to be left-aligned so that the spacing between the words in code doesn’t change based on if it fills a line or not.




david,
i like your fluid width codelog modification.
is there a way that i can use only this feature?
a patch or a guide would be nice,..
thanks,
I guess I could have added that information to the readme. I’ve added an admin menu for the theme which allows you to choose between fixed- and fluid-width layout. Go to Presentation -> Codelog Theme Options.
Hope that helps.
David
Nice work on this theme. If you’re up for a challenge, take a look at Stephen Reinhardt’s Elite. It has a layout that is somewhat similar to Codelog. It has some…problems (some pretty big ones), but it’s been recognized as one of the better looking free themes out right now. I’ve been working with it and making small repairs and alterations, but I’m sure you could make it sing!
Thanks. I’m working on a couple other themes right now and it’s amazing how much time you can sink into this stuff.
I don’t see single post (single php) in the theme editor. Where do I put the similar post phrase for the similar post plugin?
This is cool. I think this might work for my photos. There is so much space. And I can use the SEO friendly theme.