Fix broken curly braces after epicenter is_home test changes
authorLaury GvR <laury@gaslightmedia.com>
Tue, 16 Apr 2019 17:57:08 +0000 (13:57 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 16 Apr 2019 17:57:08 +0000 (13:57 -0400)
templates/sidebar-1.php

index 2529151..fed14a6 100644 (file)
@@ -16,17 +16,15 @@ if ( ! defined( 'ABSPATH' ) ) {
 <aside id="sidebar" role="complementary" <?php Avada()->layout->add_class( 'sidebar_1_class' ); ?> <?php Avada()->layout->add_style( 'sidebar_1_style' ); ?> <?php Avada()->layout->add_data( 'sidebar_1_data' ); ?>>
 <?php 
 if (in_category(70)) {
-       if (is_single() ) {?>
-
+       if (is_single() ) {
                
-                       <?php echo "Here goes the sidebar for single epicenter posts";
+                       echo "Here goes the sidebar for single epicenter posts";
                        if ( is_active_sidebar( 'avada-custom-sidebar-epicentersidebar' ) ) {
                                        dynamic_sidebar( 'avada-custom-sidebar-epicentersidebar' );
                        } else {
                                        echo "avada-custom-sidebar-epicentersidebar is not active";
-                       } ?>
+                       }
        }
-       <?php
        if (is_home()) {
                echo "Do stuff when is_home()";
        }