Doug Stewart avatar Doug Stewart committed e0d70d7

Number 27, hooking, 2 minutes2!

*TWEET!*

Comments (0)

Files changed (7)

 <?php get_header(); ?>
 
 <div id="allwrapper">
+	<?php lblg_above_content_and_sidebars(); ?>
 	<div id="wrapper">
+	<?php lblg_above_content(); ?>
 		<div id="lb-content">
 			<div class="wppost">
+				<?php lblg_the_title(); ?>
 				<h1>Whoops.</h1>
 				<div class="itemtext">
 					<p>Looks like you managed to stumble across a link to a page that doesn't exist, but never fear, good citizen, for a wealth of options awaits you!</p>

bp-wrapper-header.php

 */
 ?>
 <div id="allwrapper">
+	<?php lblg_above_content_and_sidebars(); ?>
 	<div id="wrapper">
+	<?php lblg_above_content(); ?>
 		<div id="lb-content">
 			<div class="padder">
 <?php
+/**
+ * Elbee Elgee Header Template
+ *
+ * @package 		Elbee-Elgee
+ * @copyright	Copyright (c) 2011, Doug Stewart
+ * @license		http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
+ *
+ * @since 		Elbee-Elgee 1.0
+ */
+
 $lblg_meta = get_option('lblg_meta_info');
 $lblg_themename = $lblg_meta['themename'];
 $lblg_shortname = $lblg_meta['shortname'];

includes/functions/hooks.php

 	do_action( 'lblg_print_bp_menu' );
 }
 
+function lblg_above_content_and_sidebars(){
+	do_action( 'lblg_above_content_and_sidebars' );
+}
+
 function lblg_above_content(){
 	do_action( 'lblg_above_content' );
 }
+<?php
+/**
+ * Elbee Elgee Default Template (index.php)
+ *
+ * @package 		Elbee-Elgee
+ * @copyright	Copyright (c) 2011, Doug Stewart
+ * @license		http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
+ *
+ * @since 		Elbee-Elgee 1.0
+ */
+?>
 <?php get_header(); ?>
 
 <div id="allwrapper">
+	<?php lblg_above_content_and_sidebars(); ?>
 	<div id="wrapper">
 		<?php lblg_above_content(); ?>
 		<div id="lb-content">
 <?php
 /*
-Template Name: Page
-*/
+ * Template Name: Page
+ */
 ?>
 <?php get_header(); ?>
 
 <div id="allwrapper">
+	<?php lblg_above_content_and_sidebars(); ?>
 <div id="wrapper">
+	<?php lblg_above_content(); ?>
 	<div id="lb-content">
 		<?php get_template_part( 'theloop' ); ?>
 		<?php if( comments_open() ) comments_template(); ?>
-<?php 
-/*
-Template Name: Single Post
-*/
-
-get_header(); ?>
+<?php
+/**
+ * Elbee Elgee single post template
+ *
+ * Template Name: Single Post
+ *
+ * @package 		Elbee-Elgee
+ * @copyright	Copyright (c) 2011, Doug Stewart
+ * @license		http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
+ *
+ * @since 		Elbee-Elgee 1.0
+ */
+?>
+<?php get_header(); ?>
 
 <div id="allwrapper">
+	<?php lblg_above_content_and_sidebars(); ?>
 <div id="wrapper">
+	<?php lblg_above_content(); ?>
 	<div id="lb-content">
 		<?php get_template_part( 'theloop' ); ?>
 		<?php comments_template(); ?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.