mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 17:23:55 +01:00
21 lines
407 B
PHP
21 lines
407 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: sarahetter
|
|
* Date: 15-09-25
|
|
* Time: 1:10 PM
|
|
*/
|
|
$controller = new Subtemplate();
|
|
$banner = get_field('banner_for_blog_sidebar','option');
|
|
|
|
$image = '';
|
|
if ($banner) {
|
|
$image = "<img src='{$banner['url']}' alt='{$banner['alt']}'>";
|
|
}
|
|
?>
|
|
|
|
<aside class="blog-sidebar">
|
|
<?php echo $image; ?>
|
|
<?php echo $controller->blogFeatures("sidebar"); ?>
|
|
</aside>
|