<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()";
}