plugin

You are currently browsing articles tagged plugin.

One question I get asked a lot is “How do I change the custom header size?” The answer is the Custom Header Resize plugin. All you need to do is change the values to reflect the size of custom header you’d like to use, and install the plugin.

For those of you who’d like to customise things further, here are a few pointers…

The plugin only defines two of the constants associated with custom headers, HEADER_IMAGE_WIDTH and HEADER_IMAGE_HEIGHT. There are a few others which you could also define in the same way:

  • HEADER_TEXTCOLOR sets the colour of the text that would go over the header image. Tarski doesn’t use this value, but other themes do.
  • NO_HEADER_TEXT is set to true by Tarski, because it doesn’t have an option to put text over the header. Again, this is more useful when using other themes.
  • HEADER_IMAGE sets the default header image. In Tarski this is set to the image you chose on the Tarski options page, which would then be overridden by any custom header image you set up.

Please note that if you have the WP_DEBUG constant set to true (this is usually only used by developers) then you’ll see a bunch of warnings as Tarski will attempt to redefine these constants. This will be fixed in the next version of Tarski.

Tags: ,

I ran this plugin up for a friend the other day, and thought other people might find it useful: Category Stylesheets. It lets you add category-specific stylesheets to your site. Once you’ve installed the plugin you just need to add a file named category-n.css (where n is the category ID) to your theme directory. The stylesheet will be used on category archive pages for that category, and single posts in that category.

March 17, 2009 by Benedict Eastaugh | 1 comment

This plugin removes the tagline that usually appears in the home page title; I wrote it following a request in the forum. Get the code here, save it as remove_tagline.php in your plugins directory, and activate it as normal.

November 8, 2007 by Benedict Eastaugh | 2 comments

I’ve written a small plugin that changes the separator character in Tarski’s document titles. You can get the code here; just save it as title_sep_swap.php in your WordPress install’s plugins directory. The code provided changes the separator to the pipe character, but you can make it use whatever you prefer by changing the second argument of the define call on line 11.

November 6, 2007 by Benedict Eastaugh | Permalink

Just published an article over on Extralogical about adding custom hooks to WordPress themes, which might be of interest to the theme authors amongst you. It also offers a little preview of how the new hooks system in Tarski 1.5 will work.

June 13, 2007 by Benedict Eastaugh | Permalink

I’ve been having a few problems with my website‘s theme, so I’ve switched to Tarski temporarily. Now, my site uses Feedburner, so obviously Tarski’s built-in links to WordPress’s self-generated feeds was a small problem.

Fortunately, there’s a solution out there: Steve Smith’s Feedburner Feed Replacement. All you need to do is download the plugin, install it, and point it to your feed. You don’t need to change Tarski’s code at all. Given this positive experience, I’ve added it to our Recommended Plugins page.

Tags: , , , , , ,

Make sure you don’t use Tarski’s asides and a plugin like Sideblog; the two will, not surprisingly, conflict. If you’re using Sideblog (or a similar plugin) and Tarski, make sure you disable asides in the Tarski Options page!

June 6, 2006 by Benedict Eastaugh | 10 comments

Here’s a related posts plugin I cooked up that will display a list of (possibly) related posts at the bottom of posts. Requires Ultimate Tag Warrior.

May 25, 2006 by Chris Sternal-Johnson | 9 comments