hotfix #13 (broken image link)

This commit is contained in:
Vladimir Vassilev 2015-04-19 22:57:22 +03:00
parent a804e44990
commit 807f16e3b8
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,8 @@
</nav>
<?php
if(openfest_home_page()){
echo '<section class="banner cf"><img src="'.get_template_directory_uri().'/img/banner-'.of_get_lang().'-'. date('Y') .'.png" alt="" /></section>';
$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>';
}
?>