alternate styles

You are currently browsing articles tagged alternate styles.

Tarski 2.6 brings support for new WordPress features, improves the API, and makes the theme far more amenable to customisation via child themes. A detailed list of changes is available in the changelog. Please note that WordPress 2.9 is required for this release.

Download Tarski 2.6

You can also get this version as a Git tag.

We strongly recommend following the upgrade guide. Always back up your files and database before running a WordPress or Tarski upgrade. Please ensure that you upgrade WordPress before installing the new version of Tarski.

Better child themes

Child themes can now support their own custom headers and stylesheets. Simply create your child theme and add your new header images to the headers/ directory in the child theme, rather than in your version of Tarski. The same applies to custom stylesheets. This makes Tarski child themes far more powerful, and allows you to keep all your Tarski customisations in a child theme rather than having to worry about backing up files stored in your Tarski directory as well.

Post thumbnails & image captions

Tarski now supports the post thumbnails added in WordPress 2.9, as well as properly styling the captions added to images in WordPress 2.6.

More customisable navbar

For those of you using the Tarski API to modify the navbar, a couple of enhancements have been added. Firstly, the ‘Home’ and page links are now added to the navbar via the tarski_navbar filter, making it much easier to remove them if need be. Secondly, page and external links added to the navbar now have more meaningful array keys when they are passed to that filter, making them easier to manipulate programmatically.

Now in HTML5

HTML5 is the future of HTML, and using the HTML5 DOCTYPE in Tarski will make it easier to incorporate powerful new features in the future. There was a discussion of where this will lead in the comments on the 2.6 release candidates post.

As usual, there are many more tweaks, bug fixes and new features in Tarski 2.6 than I can go into here. Hope you enjoy the new version.

Please post bug reports, suggestions etc. on the forum.

Tags: , , , , ,

When WordPress 2.1 was released, we made the mistake of not having a compatible version of Tarski ready. WordPress 2.3—which will be out pretty soon—includes a number of changes which will be significant for Tarski users, and consequently we were determined not to make the same mistake twice. Tarski 1.7 remains backwards-compatible with the WordPress 2.1/2.2 branch, but it’s decidedly forward-looking. You can mull over the details on the changelog.

Perhaps the biggest change is the removal of our Ultimate Tag Warrior support in favour of the new ‘core’ WordPress tags system. Unless you’re running the 2.3 release candidate, this means your tags will disappear until you upgrade your WordPress installation and import your UTW tags. Tarski’s new tags page template, which you can see in action on our tags page, uses the new WP tag cloud.

While the overall goal of 1.7 was to make Tarski compatible with the new version of WordPress, we also took it as an opportunity to polish our code a bit and add a few helpful new features. As you can see by casting an eye up to the navbar, the ‘Home’ link can now be renamed. People have been asking for this for a while now, and I decided it was time to give in. You can change that on the Tarski Options page; look for the ‘Navigation Options’ header.

Speaking of the navbar, we’ve fixed an annoying issue where one had to re-save one’s Tarski options to get the navbar to reorder. It now reorders automatically whenever you save a page (since that’s when you change the Page Order value). The navbar output has also been added to the hooks system, which means two things: firstly, the constants.php file is now fully replaced (at least as far as it’s going to be), and that you can now add links to the navbar using a plugin. I hope to use this functionality to add a more elegant, user-friendly way to include external links.

The update notifier improvements in the last release have received a boost too, as the version check is now cacheable. To enable the cache, you need to make sure permissions on library/cache/ in your Tarski directory are set to 777. More details are available on the Update Notifier page.

For those who prefer to use a header image as their website title, and hide the actual title, I’ve improved the code so the alt attribute description is the site title when the title isn’t displayed, and the image itself links home (when you’re not on the front page, of course). A pinch of CSS means things should display as before, but the way things work is a bit more closely aligned with the expected behaviour (i.e., the site title links to the home page).

Category and author archives have had their first improvement in a long while: if there’s a description associated with them, they’re now displayed instead of the boring “This is a category archive for…” or “You are currently browsing so-and-so’s articles…”. So if you view my posts, you get a brief sentence about me instead of generic filler text. In addition to this, the document body now has an id which is set depending on which page you’re viewing, so you could make a particular author or category archive display in a certain way just by adding some extra code to your custom style. We’ve also assigned HTML classes to certain elements of the post metadata, so you can style those more easily.

As I detailed in my article on Tarski Plugin Integration, the support for specific plugins is now gone, so if you want to carry on using those plugins with Tarski I strongly recommend giving it a read.

Many thanks to everyone who helped me track down and fix the various bugs in Tarski 1.6; hopefully 1.7 won’t have the same problems. Enjoy the new version.

Please post bugs, suggestions and new translations on the forum.

Tags: , , , , , , , , , ,

Another redesign based on Tarski; when I asked Craig Burgess how Tarski (possibly not an obvious basis for a site this colourful) helped him make it, he said

I just wanted to make as wacky of a design as I could, and Tarski made it really easy for me. I’ve used WordPress for too many years now, and Tarski is the first theme I’ve come across that has made it truly easier for me to customise.

April 2, 2007 by Benedict Eastaugh | 3 comments

Sebastian Nordlund of Rawkstyle‘s rather nice redesign is based on Tarski; the texture at the top is engagingly warm, and all the better for not being overwrought.

Seeing other people base original designs on Tarski’s codebase wasn’t something I really expected when we first released the theme, but there have actually been a number of them.

March 29, 2007 by Benedict Eastaugh | Permalink

Forumgoer Jinkies has made a clever Tarski-based gallery, with a tiny bit of help from the support forum. Well worth checking out.

October 20, 2006 by Benedict Eastaugh | 3 comments

We’ve just added a new, revised version of our original alternate styles tutorial. The new Alternate Styles page resides in its rightful place in the Docs & Help section, and has been substantially rewritten for greater clarity and to correct a couple of errors. The original article is now defunct, so if you have any links pointing there please update them.

October 4, 2006 by Benedict Eastaugh | Permalink

Pink Tentacle shows just how much you can do with Tarski’s alternate styles.

July 4, 2006 by Benedict Eastaugh | 7 comments

Guilty Carnivore has a beautiful modification of Tarski running.

June 4, 2006 by Chris Sternal-Johnson | 1 comment

Vidar has created a modified version of Tarski he dubs “Vidarski”, even getting the theme to work with WordPress 1.5.x. I’m a fan of the blue…

June 2, 2006 by Chris Sternal-Johnson | 1 comment

Douten has done a lovely modification of Tarski. Might have been an idea to use Tarski’s alternate styles to make the changes, though…

May 9, 2006 by Benedict Eastaugh | 12 comments

« Older entries