Commits

Doug Stewart  committed 5ce59e4

Some new hooks.

  • Participants
  • Parent commits 3ad8efd

Comments (0)

Files changed (3)

 			<?php } ?>
 			<?php endif; ?>
 			</ul>
-		</div>
+		</div><!-- #footerleft -->
 		<div id="footerright">
 			<ul>
 			<?php if ( !dynamic_sidebar('Bottom Right') ) : ?>
 			<?php } ?>
 			<?php endif; ?>
 			</ul>
-		</div>
+		</div><!-- #footerright -->
 	<div id="footercredits">
 	<?php 
 		if( $lblg_options['display_footer_copyright'] ) {
 		}
 	?>
 	<!--<?php echo get_num_queries(); ?> queries-->
-	</div>
-	</div>
-</div>
-</div>
+	</div><!-- #footercredits -->
+	</div><!-- #footerwrapper -->
+</div><!-- #footer -->
+</div><!-- #container -->
 <?php wp_footer(); ?>
 </body>
 </html>
 <head>
 	<meta charset="<?php bloginfo( 'charset' ); ?>" />
 <?php
-// Head that nasty "duplicate content" Google "feature" off at the pass.
-	if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){ 
-	?>
-	<!-- ok google, index me! -->
-	<?php 
-	}else{
-	?>
-	<!-- google, please ignore - thanks! -->
-	<meta name="robots" content="noindex,follow">
-	<meta name="viewport" content="width=device-width, initial-scale=1.0">
-	<?php
-	}
-
 	if ( class_exists('All_in_One_SEO_Pack') || class_exists('HeadSpace_Plugin') || class_exists('Platinum_SEO_Pack') || class_exists('wpSEO') || defined('WPSEO_VERSION') ) {
 	?>
 	<title><?php wp_title(''); ?></title>
 
 </head>
 <body <?php body_class(); ?>>
+<?php lblg_before_container(); ?>
 <div id="container">
+<?php lblg_container_top(); ?>
 <div id="header">
 	<div id="titledesc">
 		<?php lblg_print_title(); ?>

File includes/functions/hooks.php

 	do_action( 'lblg_set_themename' );
 }
 
+function lblg_before_container(){
+	do_action( 'lblg_before_container' );
+}
+
+function lblg_container_top(){
+	do_action( 'lblg_container_top' );
+}
+
 function lblg_after_admin_header(){
 	do_action( 'lblg_after_admin_header' );
 }