Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re: Issue #82 template file and functions.php bootstrap for Theme Hoo…

…ks Alliance @zamoose/themehooksalliance
  • Loading branch information...
commit 439c6caae0b430e13c7b5b0e8d596306b1eba474 1 parent 7d4973b
@chipbennett authored
View
42 footer.php
@@ -31,6 +31,26 @@
?>
</div>
<!-- End Content (div#content)-->
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_content_after' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_content_after'
+ */
+ oenology_hook_content_after();
+ ?>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_site_footer_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_site_footer_before'
+ */
+ oenology_hook_site_footer_before();
+ ?>
<!-- Begin Footer (div#footer) -->
<?php
@@ -89,11 +109,11 @@
?>
<?php
- // Fire the 'oenology_hook_site_footer_before' custom action hook
+ // Fire the 'oenology_hook_site_footer_text_before' custom action hook
//
// @param null
- // @return mixed any output hooked into 'oenology_hook_site_footer_before'
- oenology_hook_site_footer_before();
+ // @return mixed any output hooked into 'oenology_hook_site_footer_text_before'
+ oenology_hook_site_footer_text_before();
?>
<?php
@@ -105,16 +125,26 @@
?>
<?php
- // Fire the 'oenology_hook_site_footer_after' custom action hook
+ // Fire the 'oenology_hook_site_footer_text_after' custom action hook
//
// @param null
- // @return mixed any output hooked into 'oenology_hook_site_footer_after'
- oenology_hook_site_footer_after();
+ // @return mixed any output hooked into 'oenology_hook_site_footer_text_after'
+ oenology_hook_site_footer_text_after();
?>
</div>
<!-- End Footer (div#footer) -->
+ <?php
+ /**
+ * Fire the 'oenology_hook_site_footer_after' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_site_footer_after'
+ */
+ oenology_hook_site_footer_after();
+ ?>
+
<?php
// Fire the 'oenology_hook_extent_after' custom action hook
//
View
9 functions.php
@@ -98,6 +98,15 @@
require( get_template_directory() . '/functions/options-customizer.php' );
/**
+ * Include Theme Hooks Alliance Hooks
+ *
+ * @link https://github.com/zamoose/themehookalliance
+ *
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License, v2 (or newer)
+ */
+require( get_template_directory() . '/tha/tha-theme-hooks.php' );
+
+/**
* Include the Theme Custom Hooks Function File
*
* hooks.php includes the Theme's custom hooks
View
48 header.php
@@ -212,15 +212,25 @@
?>
<div id="extent">
-<?php
-/**
- * Fire the 'oenology_hook_extent_before' custom action hook
- *
- * @param null
- * @return mixed any output hooked into 'oenology_hook_extent_before'
- */
-oenology_hook_extent_before();
-?>
+ <?php
+ /**
+ * Fire the 'oenology_hook_extent_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_extent_before'
+ */
+ oenology_hook_extent_before();
+ ?>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_site_header_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_site_header_before'
+ */
+ oenology_hook_site_header_before();
+ ?>
<!-- Begin Header (div#header)-->
<?php
@@ -259,6 +269,16 @@
</div>
<!-- End Header (div#header) -->
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_site_header_after' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_site_header_after'
+ */
+ oenology_hook_site_header_after();
+ ?>
<!-- Begin Infobar (div#infobar) -->
<?php
@@ -294,6 +314,16 @@
</div>
<!-- End Infobar (div#infobar) -->
+ <?php
+ /**
+ * Fire the 'oenology_hook_content_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_content_before'
+ */
+ oenology_hook_content_before();
+ ?>
+
<!-- Begin Content (div#content) -->
<?php
/**
View
32 loop.php
@@ -110,6 +110,16 @@
*/
the_post();
?>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_post_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_post_before'
+ */
+ oenology_hook_post_before();
+ ?>
<div <?php
/**
@@ -126,12 +136,12 @@
<?php
/**
- * Fire the 'oenology_hook_post_before' custom action hook
+ * Fire the 'oenology_hook_post_top' custom action hook
*
* @param null
- * @return mixed any output hooked into 'oenology_hook_post_before'
+ * @return mixed any output hooked into 'oenology_hook_post_top'
*/
- oenology_hook_post_before();
+ oenology_hook_post_top();
?>
<?php
@@ -170,15 +180,25 @@
<?php
/**
- * Fire the 'oenology_hook_post_after' custom action hook
+ * Fire the 'oenology_hook_post_bottom' custom action hook
*
* @param null
- * @return mixed any output hooked into 'oenology_hook_post_after'
+ * @return mixed any output hooked into 'oenology_hook_post_bottom'
*/
- oenology_hook_post_after();
+ oenology_hook_post_bottom();
?>
</div>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_post_after' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_post_after'
+ */
+ oenology_hook_post_after();
+ ?>
<?php
View
44 sidebar.php
@@ -39,7 +39,29 @@
if ( 'three-column' != oenology_get_current_page_layout() ) {
?>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_sidebars_before' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_sidebars_before'
+ */
+ oenology_hook_sidebars_before();
+ ?>
+
<div id="sidebar-doublecol">
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_sidebars_top' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_sidebars_top'
+ */
+ oenology_hook_sidebars_top();
+ ?>
+
<?php
// Only display div#doublecoltop if dynamic sidebar
@@ -243,7 +265,29 @@
<?php
}
?>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_sidebars_bottom' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_sidebars_bottom'
+ */
+ oenology_hook_sidebars_bottom();
+ ?>
+
</div>
+
+ <?php
+ /**
+ * Fire the 'oenology_hook_sidebars_after' custom action hook
+ *
+ * @param null
+ * @return mixed any output hooked into 'oenology_hook_sidebars_after'
+ */
+ oenology_hook_sidebars_after();
+ ?>
+
<?php
}
?>
View
12 site-header.php
@@ -53,12 +53,12 @@
<?php
/**
- * Fire the 'oenology_hook_site_header_before' custom action hook
+ * Fire the 'oenology_hook_site_header_text_before' custom action hook
*
* @param null
- * @return mixed any output hooked into 'oenology_hook_site_header_before'
+ * @return mixed any output hooked into 'oenology_hook_site_header_text_before'
*/
- oenology_hook_site_header_before();
+ oenology_hook_site_header_text_before();
?>
<?php
@@ -73,12 +73,12 @@
<?php
/**
- * Fire the 'oenology_hook_site_header_after' custom action hook
+ * Fire the 'oenology_hook_site_header_text_after' custom action hook
*
* @param null
- * @return mixed any output hooked into 'oenology_hook_site_header_after'
+ * @return mixed any output hooked into 'oenology_hook_site_header_text_after'
*/
- oenology_hook_site_header_after();
+ oenology_hook_site_header_text_after();
?>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.