/includes/responsive-hooks.php

  1. <?php 
  2. /** 
  3. * Theme Action Hooks 
  4. * 
  5. * Theme Action Hooks that extend THA 
  6. * 
  7. * @package Responsive_II 
  8. * @license license.txt 
  9. * @copyright 2014 CyberChimps Inc 
  10. * @since 0.0.1 
  11. * 
  12. * Please do not edit this file. This file is part of the Responsive_II Framework and all modifications 
  13. * should be made in a child theme. 
  14. */ 
  15.  
  16. // If this file is called directly, abort. 
  17. if ( ! defined( 'WPINC' ) ) { 
  18. die; 
  19.  
  20. /** 
  21. * Just after opening <html> tag 
  22. * 
  23. * @see header.php 
  24. */ 
  25. function responsive_II_html_before() { 
  26. do_action( 'responsive_II_html_before' ); 
  27. tha_html_before(); 
  28.  
  29. /** 
  30. * Just after opening <body> tag 
  31. * 
  32. * @see header.php 
  33. */ 
  34. function responsive_II_body_top() { 
  35. do_action( 'responsive_II_body_top' ); 
  36. tha_body_top(); 
  37.  
  38. /** 
  39. * Just after closing </body> 
  40. * 
  41. * @see footer.php 
  42. */ 
  43. function responsive_II_body_bottom() { 
  44. do_action( 'responsive_II_container' ); 
  45. do_action( 'responsive_II_body_bottom' ); 
  46. tha_body_bottom(); 
  47.  
  48. /** 
  49. * Just after opening <div id="container"> tag 
  50. * 
  51. * @see header.php 
  52. */ 
  53. function responsive_II_container_top() { 
  54. do_action( 'responsive_II_container' ); 
  55.  
  56. /** 
  57. * Just after closing </div><!-- end of #container --> 
  58. * 
  59. * @see footer.php 
  60. */ 
  61. function responsive_II_container_bottom() { 
  62. do_action( 'responsive_II_container_end' ); 
  63. do_action( 'responsive_II_container_bottom' ); 
  64. tha_footer_before(); 
  65.  
  66. /** 
  67. * Just after opening <head> 
  68. * 
  69. * @see header.php 
  70. */ 
  71. function responsive_II_head_top() { 
  72. do_action( 'responsive_II_head_top' ); 
  73. tha_head_bottom(); 
  74.  
  75. /** 
  76. * Just after closing </head> 
  77. * 
  78. * @see header.php 
  79. */ 
  80. function responsive_II_head_bottom() { 
  81. do_action( 'responsive_II_head_bottom' ); 
  82. tha_head_bottom(); 
  83.  
  84. /** 
  85. * Just after opening <div id="container"> 
  86. * 
  87. * @see header.php 
  88. */ 
  89. function responsive_II_header() { 
  90. do_action( 'responsive_II_header' ); 
  91. tha_header_before(); 
  92.  
  93. /** 
  94. * Just after opening <div id="header"> 
  95. * 
  96. * @see header.php 
  97. */ 
  98. function responsive_II_header_top() { 
  99. do_action( 'responsive_II_header_top' ); 
  100. tha_header_top(); 
  101.  
  102. /** 
  103. * Just after opening <div id="header"> 
  104. * 
  105. * @see header.php 
  106. */ 
  107. function responsive_II_in_header() { 
  108. do_action( 'responsive_II_in_header' ); 
  109.  
  110. /** 
  111. * Creates a hook for the first header content just after <div id="site-branding"> 
  112. */ 
  113. function responsive_II_header_one() { 
  114. do_action( 'responsive_II_header_one' ); 
  115.  
  116. /** 
  117. * Creates a hook for the second header content just after 
  118. */ 
  119. function responsive_II_header_two() { 
  120. do_action( 'responsive_II_header_two' ); 
  121.  
  122. /** 
  123. * Just after closing </div><!-- end of #header --> 
  124. * 
  125. * @see header.php 
  126. */ 
  127. function responsive_II_header_bottom() { 
  128. do_action( 'responsive_II_header_bottom' ); 
  129. tha_header_bottom(); 
  130.  
  131. /** 
  132. * Just after closing </div><!-- end of #header --> 
  133. * 
  134. * @see header.php 
  135. */ 
  136. function responsive_II_header_end() { 
  137. do_action( 'responsive_II_header_end' ); 
  138. tha_header_after(); 
  139.  
  140. /** 
  141. * Just before opening <div id="wrapper"> 
  142. * 
  143. * @see header.php 
  144. */ 
  145. function responsive_II_wrapper() { 
  146. do_action( 'responsive_II_wrapper' ); 
  147. tha_content_before(); 
  148.  
  149. /** 
  150. * Just after opening <div id="wrapper"> 
  151. * 
  152. * @see header.php 
  153. */ 
  154. function responsive_II_wrapper_top() { 
  155. do_action( 'responsive_II_wrapper_top' ); 
  156. tha_content_top(); 
  157.  
  158. /** 
  159. * Just after opening <div id="wrapper"> 
  160. * 
  161. * @see header.php 
  162. */ 
  163. function responsive_II_in_wrapper() { 
  164. do_action( 'responsive_II_in_wrapper' ); 
  165.  
  166. /** 
  167. * Just before closing </div><!-- end of #wrapper --> 
  168. * 
  169. * @see header.php 
  170. */ 
  171. function responsive_II_wrapper_bottom() { 
  172. do_action( 'responsive_II_wrapper_bottom' ); 
  173. tha_content_bottom(); 
  174.  
  175. /** 
  176. * Just after closing </div><!-- end of #wrapper --> 
  177. * 
  178. * @see header.php 
  179. */ 
  180. function responsive_II_wrapper_end() { 
  181. do_action( 'responsive_II_wrapper_end' ); 
  182. tha_content_after(); 
  183.  
  184. /** Just before <div id="post"> 
  185. * 
  186. * @see index.php 
  187. */ 
  188. function responsive_II_entry_before() { 
  189. do_action( 'responsive_II_entry_before' ); 
  190. tha_entry_before(); 
  191.  
  192. /** Just after <div id="post"> 
  193. * 
  194. * @see index.php 
  195. */ 
  196. function responsive_II_entry_top() { 
  197. do_action( 'responsive_II_entry_top' ); 
  198. tha_entry_top(); 
  199.  
  200. /** Just before </div> <!-- end of div#post --> 
  201. * 
  202. * @see index.php 
  203. */ 
  204. function responsive_II_entry_bottom() { 
  205. do_action( 'responsive_II_entry_bottom' ); 
  206. tha_entry_bottom(); 
  207.  
  208. /** Just after </div> <!-- end of div#post --> 
  209. * 
  210. * @see index.php 
  211. */ 
  212. function responsive_II_entry_after() { 
  213. do_action( 'responsive_II_entry_after' ); 
  214. tha_entry_after(); 
  215.  
  216. /** Just before comments_template() 
  217. * 
  218. * @see index.php 
  219. */ 
  220. function responsive_II_comments_before() { 
  221. do_action( 'responsive_II_comments_before' ); 
  222. tha_comments_before(); 
  223.  
  224. /** Just after comments_template() 
  225. * 
  226. * @see index.php 
  227. */ 
  228. function responsive_II_comments_after() { 
  229. do_action( 'responsive_II_comments_after' ); 
  230. tha_comments_after(); 
  231.  
  232. /** 
  233. * Just before opening <div id="widgets"> 
  234. * 
  235. * @see sidebar.php 
  236. */ 
  237. function responsive_II_widgets_before() { 
  238. do_action( 'responsive_II_widgets_before' ); 
  239. tha_sidebars_before(); 
  240.  
  241. /** 
  242. * Just after opening <div id="widgets"> 
  243. * 
  244. * @see sidebar.php 
  245. */ 
  246. function responsive_II_widgets() { 
  247. do_action( 'responsive_II_widgets' ); 
  248. tha_sidebar_top(); 
  249.  
  250. /** 
  251. * Just before closing </div><!-- end of #widgets --> 
  252. * 
  253. * @see sidebar.php 
  254. */ 
  255. function responsive_II_widgets_end() { 
  256. do_action( 'responsive_II_widgets_end' ); 
  257. tha_sidebar_bottom(); 
  258.  
  259. /** 
  260. * Just after closing </div><!-- end of #widgets --> 
  261. * 
  262. * @see sidebar.php 
  263. */ 
  264. function responsive_II_widgets_after() { 
  265. do_action( 'responsive_II_widgets_after' ); 
  266. tha_sidebars_after(); 
  267.  
  268. /** 
  269. * Just after opening <div id="footer"> 
  270. * 
  271. * @see footer.php 
  272. */ 
  273. function responsive_II_footer_top() { 
  274. do_action( 'responsive_II_footer_top' ); 
  275. tha_footer_top(); 
  276.  
  277. /** 
  278. * Just before closing </div><!-- end of #footer --> 
  279. * 
  280. * @see footer.php 
  281. */ 
  282. function responsive_II_footer_bottom() { 
  283. do_action( 'responsive_II_footer_bottom' ); 
  284. tha_footer_bottom(); 
  285.  
  286. /** 
  287. * Just after closing </div><!-- end of #footer --> 
  288. * 
  289. * @see footer.php 
  290. */ 
  291. function responsive_II_footer_after() { 
  292. do_action( 'responsive_II_footer_after' ); 
  293. tha_footer_after(); 
  294.  
  295. /** 
  296. * Theme Options 
  297. * 
  298. * @see theme-options.php 
  299. */ 
  300. function responsive_II_theme_options() { 
  301. do_action( 'responsive_II_theme_options' ); 
.