Add header customisation for 2023
This commit is contained in:
parent
1b355bd48f
commit
9e31f24f69
|
@ -65,6 +65,9 @@
|
||||||
echo '</section>';
|
echo '</section>';
|
||||||
|
|
||||||
|
|
||||||
|
} else if ($blog_slug == '2023') {
|
||||||
|
echo '<section class="banner cf" style="background: url("'.get_template_directory_uri().'/img/banner-back-2023.png") top repeat-x;padding: 0.2em 0 0 0;height: 258px;background-position: center;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-2023.png" alt="" /></section>';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo '<section class="banner cf" style="background: url(\''.get_template_directory_uri().'/img/banner-back-'.$blog_slug.'.jpg\') top repeat-x;padding: 0.2em 0 0 0;height: 258px;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. $blog_slug .'.png" alt="" /></section>';
|
echo '<section class="banner cf" style="background: url(\''.get_template_directory_uri().'/img/banner-back-'.$blog_slug.'.jpg\') top repeat-x;padding: 0.2em 0 0 0;height: 258px;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. $blog_slug .'.png" alt="" /></section>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue