Great, except default 2011 header images show up.
-
I am using Add Custom Header Images with the WordPress Twenty Eleven theme. It works great except that there seems to be a bug. The Twenty Eleven theme comes with a number of default header images that show up along with the images I had uploaded to the “The Headers” page for the plugin to use.
I did a hack to fix this using a tip from Voodoo Press: https://voodoopress.com/adding-and-removing-default-headers-in-twentyeleven/
// REMOVE SOME DEFAULT HEADERS function voodoo_header_out() { unregister_default_headers( array( 'wheel', 'shore', 'trolley') ); } add_action( 'after_setup_theme', 'voodoo_header_out', 11 );
If you do this, be aware that the array of default images in the example is incomplete. You will have to add the rest of them.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Great, except default 2011 header images show up.’ is closed to new replies.