Removed 'no posts' text on member detail sidebar
authorLaury GvR <laury@gaslightmedia.com>
Wed, 31 Jan 2018 22:57:52 +0000 (17:57 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 31 Jan 2018 22:57:52 +0000 (17:57 -0500)
sidebar-member.php
sidebar-page.php

index 0eab963..c18874f 100644 (file)
@@ -52,7 +52,7 @@ if ( ! is_active_sidebar( 'sidebar-2' ) ) {
                                $loop = new WP_Query( $args );?>
 
                                <?php if ($loop->post_count == 0) { ?>
-                                    <h2>No posts</h2>
+                                    <!-- <h2>No posts</h2>-->
                                <?php } else { ?>
                                <section class="widget sidebar">
 
index b0f2a01..007f10f 100644 (file)
@@ -34,7 +34,6 @@ if ( ! is_active_sidebar( 'sidebar-2' ) ) {
                }
                else {
                        if (! dynamic_sidebar('sidebar-top-ad')):endif;
-                        dynamic_sidebar( ' sidebar-top-ad' );
                }
                ?>