Update post side bar
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Dec 2018 13:28:17 +0000 (08:28 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 14 Dec 2018 13:28:17 +0000 (08:28 -0500)
Adding side-ad widget output.

parts/blog-sidebar-r.php

index 75fe9b0..5c4ac4e 100644 (file)
                         }
                 ?>
                 </ul>
+               <?php 
+                echo "<ul id='ad-area-container' class='advanced-ad'>";
+               if ( is_active_sidebar( 'side-ad' ) ) { dynamic_sidebar( 'side-ad' ); } 
+                echo"</ul>";
+               ?>
                 <p>Categories</p>
                 <ul>
                     <?php
@@ -30,4 +35,4 @@
                 <p>Archive</p>
                 <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
             </div>
-        </div>
\ No newline at end of file
+        </div>