set the banner background to be switched with the year, too, add banners for 2016
This commit is contained in:
parent
43b49895e5
commit
501186204b
|
@ -35,6 +35,6 @@
|
|||
if(openfest_home_page()){
|
||||
$blog_details = get_blog_details();
|
||||
$blog_slug = str_replace('/', '', $blog_details->path);
|
||||
echo '<section class="banner cf"><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\') no-repeat;"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. $blog_slug .'.png" alt="" /></section>';
|
||||
}
|
||||
?>
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 192 KiB |
Binary file not shown.
After Width: | Height: | Size: 192 KiB |
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
Loading…
Reference in New Issue