Default header image fix suggestion
-
Hi.
Thanks for the great theme. It’s simple yet festive.
I noticed a bug.
If you choose a custom header image, save and publish and then go back and choose the default header image and publish again, none is displayed.I fixed it by adding the following code into the functions.php file
register_default_headers( array( 'default' => array( 'url' => get_stylesheet_directory_uri() . '/images/pepparkaka.png', 'thumbnail_url' => get_stylesheet_directory_uri() . '/images/pepparkaka.png', )));
Bests,
Lena
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Default header image fix suggestion’ is closed to new replies.