Techniques » Twenty Ten

Redefine Twenty Ten header image width and height

How do you go about redefining the WordPress Twenty Ten header image width and height? We recently used the Twenty Ten theme as a Parent Theme for a multi-site installation for a client. We wanted to retain the use of the custom header image, but wanted a different image width and height. It is accomplished with a few lines of code in the Twenty Ten child theme’s functions.php file. You are using a child theme, aren’t you?

The answer to this one is just so simple (more…)

1

Remove default WordPress Twenty Ten header images

How do you remove those pesky default header images included in the Twenty Ten WordPress theme. We recently used the Twenty Ten theme as a Parent Theme for a multi-site installation for a client. We wanted to retain the use of the custom header image, but didn’t want the default header images to be visible. It is accomplished with a few lines of code in the Twenty Ten child theme’s functions.php file. You are using a child theme, aren’t you?

First define a new function, we used remove_twenty_ten_headers(). (more…)

3

Create a WordPress Child Theme, allow updates

So you’ve got a decent handle on how WordPress works, you may have even edited a few themes directly, but now those themes have updates, what do you do (better yet what should you have done)? You need to explore Child Themes. How do you actually create a child theme in WordPress you may ask? We will quickly explore what you need (more…)

2

Remove Widgets from Twenty Ten WordPress theme

So you want to remove some of the “stock” Widget Areas from the WordPress Twenty Ten theme, how do you go about doing this? We will be using the WordPress function unregister_sidebar(). It is accomplished with a few lines of code in your Twenty Ten child theme’s functions.php file. You are using a child theme, aren’t you?

First define a new function, we used remove_widget_area(). (more…)

6