Admin bar, sidebar, and footer gone!
-
I was doing some editing and made a terrible mistake!
https://www.athenslandtrust.org/I was working in the main index template, and even though I was sure that I reversed all my changes – something went wrong.
But I think it may just be in this top portion – does anyone see any glaring errors?
(my first post in here, so I hope I’ve entered the code right) – Thanks all!<?php global $woo_options; get_header(); // Determine whether or not the homepage sidebar is enabled (enabled by default). // Also determine the various differences in logic if the sidebar is enabled/disabled. $has_sidebar = true; $content_css_class = ' home-sidebar'; $main_css_class = 'col-left'; $mini_features_count = 2; $portfolio_count = 2; if ( isset( $woo_options['woo_home_sidebar'] ) && $woo_options['woo_home_sidebar'] == 'false' ) { $has_sidebar = false; $content_css_class = ''; $main_css_class = 'col-full'; $mini_features_count = 3; $portfolio_count = 4; } ?> <?php if ( @$woo_options[ 'woo_slider' ] == 'true' && ( is_home() OR is_front_page() ) ) get_template_part( 'includes/featured' ); ?> <div class="customALT"> <div class="customALT-left"> <span class="customALT-type"> </div> <div id="content" class="col-full<?php echo $content_css_class; ?>"> <div id="main" class="<?php echo $main_css_class; ?>"> <?php
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Admin bar, sidebar, and footer gone!’ is closed to new replies.