Posted By

goaliedave67 on 08/19/09


Tagged

hooks pro frugal


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


Highlight Frugal Pro Wordpress Theme Hooks


 / Published in: PHP
 

HIGHLIGHT THE HOOKS IN FRUGAL PRO paste first part into Frugal Pro custom.css paste second part into Frugal Pro custom_functions.php

  1. /* Cut/copy this and paste it in the Frugal Pro "custom.css" file: */
  2.  
  3. .hook_highlights {
  4. background-color: #fdff00;
  5. text-align: center;
  6. border: 1px solid #f00;
  7. font: small-caps bold 1em Arial;
  8. color: #333;
  9. clear: both;
  10. }
  11.  
  12. ///////////////
  13.  
  14. /* Past this in the Frugal Pro "custom_functions.php" file */
  15.  
  16. function label_frugal_hooks() {
  17. ?>
  18. <div class="hook_highlights">- - - FRUGAL HOOK - - -</div>
  19. <?php
  20. }
  21.  
  22. add_action('frugal_hook_before_html', 'label_frugal_hooks');
  23. add_action('frugal_hook_after_html', 'label_frugal_hooks');
  24. add_action('frugal_hook_before_header', 'label_frugal_hooks');
  25. add_action('frugal_hook_after_header', 'label_frugal_hooks');
  26. add_action('frugal_hook_header', 'label_frugal_hooks');
  27. add_action('frugal_hook_before_title', 'label_frugal_hooks');
  28. add_action('frugal_hook_after_title', 'label_frugal_hooks');
  29. add_action('frugal_hook_after_navbar', 'label_frugal_hooks');
  30. add_action('frugal_hook_before_top_feature', 'label_frugal_hooks');
  31. add_action('frugal_hook_after_top_feature', 'label_frugal_hooks');
  32. add_action('frugal_hook_before_home', 'label_frugal_hooks');
  33. add_action('frugal_hook_after_home', 'label_frugal_hooks');
  34. add_action('frugal_hook_before_hometop', 'label_frugal_hooks');
  35. add_action('frugal_hook_after_hometop', 'label_frugal_hooks');
  36. add_action('frugal_hook_before_hometop_left_post', 'label_frugal_hooks');
  37. add_action('frugal_hook_after_hometop_left_post', 'label_frugal_hooks');
  38. add_action('frugal_hook_before_homebottom', 'label_frugal_hooks');
  39. add_action('frugal_hook_after_homebottom', 'label_frugal_hooks');
  40. add_action('frugal_hook_before_content', 'label_frugal_hooks');
  41. add_action('frugal_hook_after_content', 'label_frugal_hooks');
  42. add_action('frugal_hook_before_content_column', 'label_frugal_hooks');
  43. add_action('frugal_hook_after_content_column', 'label_frugal_hooks');
  44. add_action('frugal_hook_before_postarea', 'label_frugal_hooks');
  45. add_action('frugal_hook_after_postarea', 'label_frugal_hooks');
  46. add_action('frugal_hook_before_headline', 'label_frugal_hooks');
  47. add_action('frugal_hook_after_headline', 'label_frugal_hooks');
  48. add_action('frugal_hook_after_byline', 'label_frugal_hooks');
  49. add_action('frugal_hook_post_widget', 'label_frugal_hooks');
  50. add_action('frugal_hook_after_post_widget', 'label_frugal_hooks');
  51. add_action('frugal_hook_after_comment', 'label_frugal_hooks');
  52. add_action('frugal_hook_before_sidebars', 'label_frugal_hooks');
  53. add_action('frugal_hook_after_sidebars', 'label_frugal_hooks');
  54. add_action('frugal_hook_after_feature_box', 'label_frugal_hooks');
  55. add_action('frugal_hook_before_sidebar_1', 'label_frugal_hooks');
  56. add_action('frugal_hook_after_sidebar_1', 'label_frugal_hooks');
  57. add_action('frugal_hook_before_sidebar_2', 'label_frugal_hooks');
  58. add_action('frugal_hook_after_sidebar_2', 'label_frugal_hooks');
  59. add_action('frugal_hook_before_sidebar_h', 'label_frugal_hooks');
  60. add_action('frugal_hook_after_sidebar_h', 'label_frugal_hooks');
  61. add_action('frugal_hook_before_bottom_feature', 'label_frugal_hooks');
  62. add_action('frugal_hook_after_bottom_feature', 'label_frugal_hooks');
  63. add_action('frugal_hook_before_footer', 'label_frugal_hooks');
  64. add_action('frugal_hook_after_footer', 'label_frugal_hooks');
  65. add_action('frugal_hook_footer', 'label_frugal_hooks');

Report this snippet  

You need to login to post a comment.