Add test echo to identify theme template location/usage
authorLaury GvR <laury@gaslightmedia.com>
Tue, 16 Apr 2019 18:22:11 +0000 (14:22 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 16 Apr 2019 18:22:11 +0000 (14:22 -0400)
templates/sidebar-1.php

index 478b6aa..0f05e34 100644 (file)
@@ -22,7 +22,7 @@ if (in_category(70)) {
                        if ( is_active_sidebar( 'avada-custom-sidebar-epicentersidebar' ) ) {
                                        dynamic_sidebar( 'avada-custom-sidebar-epicentersidebar' );
                        } else {
-                                       echo "avada-custom-sidebar-epicentersidebar is not active";
+                               echo "avada-custom-sidebar-epicentersidebar is not active";
                        }
        }
        if (is_home()) {
@@ -38,6 +38,8 @@ if (in_category(70)) {
 } else {
        if (is_home()) {
                echo "Do stuff when is_home()";
+       } else {
+               echo "Not in cat 70 nor is_home";
        }
        $sticky_sidebar = in_array( 'fusion-sticky-sidebar', apply_filters( 'fusion_sidebar_1_class', array() ) );
        ?>