fix: update default hero image path

Switched the default hero image from 'assets/hero.jpg' to 'assets/img/hero.png' to reflect the new file organization and ensure the correct image is displayed. This change prevents broken images on the front end and improves user experience.
This commit is contained in:
Kumi 2024-06-20 13:01:39 +02:00
parent d9bd687c7a
commit 04cab36072
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -43,7 +43,7 @@ function duck_behavior_journal_customizer($wp_customize)
// Hero Image Setting
$wp_customize->add_setting('hero_image', array(
'default' => get_template_directory_uri() . '/assets/hero.jpg',
'default' => get_template_directory_uri() . '/assets/img/hero.png',
'transport' => 'refresh',
));