Lojic Technologies

Tarski WordPress Theme

with 3 comments

Tarski Theme

I’ve switched to the Tarski WordPress theme for both this and my personal blog. Thanks to Jordan for the tip on the theme and for helping me to get up to speed quickly. I think Tarski is a nice theme with a reasonable set of configurable options. Being able to easily specify a custom style sheet is a big plus. With a couple of lines of css, I was able to widen my page enough to fit most of my code snippets.

After the theme switch, I took some time to reduce my category list considerably and use tags in place of the deleted categories. I also added category counts to provide some useful feedback.

Comments Plugin

Thanks to a comment on Jordan’s blog, I grabbed a simple plugin to change the text that’s displayed when there are no comments from “No comments” to “Add a comment”. The former could imply that “no comments are allowed” vs. “no comments exist yet”.

Just drop the following code in wp-content/plugins/change_no_comments.php and activate the plugin in the admin UI:

  Plugin Name: Change Comment Text
  Plugin URI:  http://tarskitheme.com/
  Description: Change comment text to something else.
  Author:      Benedict Eastaugh
  Version:     1.0
  Author URI:  http://extralogical.net/

  function change_no_comments_text($text, $number) {
    if (0 == $number) { $text = 'Add a comment'; }
    return $text;
  add_filter('comments_number', 'change_no_comments_text', 10, 2);

WordPress as a CMS

Next I’ll be testing the boundaries of WordPress as a general purpose CMS. My initial assessment is that even though I much prefer Ruby over PHP as a programming language, the maturity, ease of use, feature richness, availability of documentation & developers, etc. of WordPress outweighs the disadvantages of the implementation language for a large set of clients.

Written by Brian Adkins

March 10, 2009 at 1:32 am

Posted in communication, web design

Tagged with , , , ,

3 Responses

Subscribe to comments with RSS.

  1. Hello;

    Can you post or tell me what code you used to widen tarski? I really like the theme, and the options it provides, but it is just too narrow. I have been looking all over for a way to widen the theme, and by the way I am not a tech-savvy weblogger.

    I would appreciate any assistance.

    The Populist

    February 4, 2010 at 9:23 am

  2. @The Populist – sorry, it’s been almost a year since I set it up and I don’t remember. I think I just modified the css a bit to widen a div or two.

    Brian Adkins

    February 6, 2010 at 10:45 am

  3. I just noticed my other blog was too narrow for the wider youtube videos, so I looked into this. Apparently, I put a special css file in the wp-content/themes/tarski/styles directory. In my case, I called it lojic.css so the contents have to match that:

    body.lojic .primary { width: 620px; }
    body.lojic .primary pre { width: 600px; }
    body.lojic #wrapper { width: 880px; }
    body.lojic .primary pre { color: #000000; background-color: #fffff0; border: 2px solid #ccc; padding: 7px; overflow: auto;
    margin: 0 0 1em 0; white-space: pre; }

    Then I went into the Tarski options in WP admin and chose the lojic style. That’s it.

    Brian Adkins

    February 22, 2010 at 11:53 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: