set the banner background to be switched with the year, too, add banners for 2016

This commit is contained in:
Vasil Kolev 2016-07-03 14:10:04 +03:00 committed by Openfest
parent 43b49895e5
commit 501186204b
6 changed files with 1 additions and 1 deletions

View File

@ -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>';
}
?>

BIN
img/banner-back-2014.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
img/banner-back-2015.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

BIN
img/banner-back-2016.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
img/banner-bg-2016.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
img/banner-en-2016.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB