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_HEIGHT. There are a few others which you could also define in the same way:
HEADER_TEXTCOLORsets the colour of the text that would go over the header image. Tarski doesn’t use this value, but other themes do.
NO_HEADER_TEXTis set to
trueby Tarski, because it doesn’t have an option to put text over the header. Again, this is more useful when using other themes.
HEADER_IMAGEsets 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.
Comments are now closed.