Use Featured Image of Post as Header Image

Not sure I understand your question completely hakre but here is the code that shows the featured image for twenty-ten in header.php.The image sizing is defined in the functions.php file. It also uses a function called http://codex.wordpress.org/Function_Reference/get_header_image. <?php // Check if this is a post or page, if it has a thumbnail, and if it’s … Read more

Extend the twentyten dropdown menu with jQuery with a delay onmouseout

The solution was very simple! Just use Superfish.js as instructed on http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started Be sure to include superfish, hoverIntent and jQuery in your wordpress. In your custom js script file, something like this works like a charm: $(‘ul#theidofyourmenu’).superfish({ delay: 600, // This will fire up the hoverIntent autoArrows: false // Disable this if you don’t want … Read more

do_shortcode() in twentyeleven theme

It looks like twenty ten displays the excerpt on category archives. If you’re using manual excerpts, this is an easy fix. Just add this line of code to your theme’s functions.php file. It tells wordpress to run the excerpt through the do_shortcode function/filter. add_filter( ‘the_excerpt’, ‘do_shortcode’ ); If you’re not using manual excerpts, we have … Read more

How to replace the twentyten image header with my flash banner?

A child theme is definitely the way to go for the reason you outlined: upgradability. To start with, here is the documentation for creating child themes: http://codex.wordpress.org/Child_Themes You’ll want to create the child theme directory and edit the style.css file as described in the Child Theme documentation link above. After that, simply copy the header.php … Read more

Post thumbnails not working in my new install of WP 3.1 with Twenty Ten theme

The featured image meta box is enabled under following conditions: if ( current_theme_supports( ‘post-thumbnails’, $post_type ) && post_type_supports( $post_type, ‘thumbnail’ ) && ( ! is_multisite() || ( ( $mu_media_buttons = get_site_option( ‘mu_media_buttons’, array() ) ) && ! empty( $mu_media_buttons[‘image’] ) ) ) ) add_meta_box(‘postimagediv’, __(‘Featured Image’), ‘post_thumbnail_meta_box’, $post_type, ‘side’, ‘low’); So check that: nothing messes … Read more