/ 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
paste first part into Frugal Pro custom.css
paste second part into Frugal Pro custom_functions.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Cut/copy this and paste it in the Frugal Pro "custom.css" file: */ .hook_highlights { background-color: #fdff00; text-align: center; border: 1px solid #f00; font: small-caps bold 1em Arial; color: #333; clear: both; } /////////////// /* Past this in the Frugal Pro "custom_functions.php" file */ function label_frugal_hooks() { ?> <div class="hook_highlights">- - - FRUGAL HOOK - - -</div> <?php } add_action('frugal_hook_before_html', 'label_frugal_hooks'); add_action('frugal_hook_after_html', 'label_frugal_hooks'); add_action('frugal_hook_before_header', 'label_frugal_hooks'); add_action('frugal_hook_after_header', 'label_frugal_hooks'); add_action('frugal_hook_header', 'label_frugal_hooks'); add_action('frugal_hook_before_title', 'label_frugal_hooks'); add_action('frugal_hook_after_title', 'label_frugal_hooks'); add_action('frugal_hook_after_navbar', 'label_frugal_hooks'); add_action('frugal_hook_before_top_feature', 'label_frugal_hooks'); add_action('frugal_hook_after_top_feature', 'label_frugal_hooks'); add_action('frugal_hook_before_home', 'label_frugal_hooks'); add_action('frugal_hook_after_home', 'label_frugal_hooks'); add_action('frugal_hook_before_hometop', 'label_frugal_hooks'); add_action('frugal_hook_after_hometop', 'label_frugal_hooks'); add_action('frugal_hook_before_hometop_left_post', 'label_frugal_hooks'); add_action('frugal_hook_after_hometop_left_post', 'label_frugal_hooks'); add_action('frugal_hook_before_homebottom', 'label_frugal_hooks'); add_action('frugal_hook_after_homebottom', 'label_frugal_hooks'); add_action('frugal_hook_before_content', 'label_frugal_hooks'); add_action('frugal_hook_after_content', 'label_frugal_hooks'); add_action('frugal_hook_before_content_column', 'label_frugal_hooks'); add_action('frugal_hook_after_content_column', 'label_frugal_hooks'); add_action('frugal_hook_before_postarea', 'label_frugal_hooks'); add_action('frugal_hook_after_postarea', 'label_frugal_hooks'); add_action('frugal_hook_before_headline', 'label_frugal_hooks'); add_action('frugal_hook_after_headline', 'label_frugal_hooks'); add_action('frugal_hook_after_byline', 'label_frugal_hooks'); add_action('frugal_hook_post_widget', 'label_frugal_hooks'); add_action('frugal_hook_after_post_widget', 'label_frugal_hooks'); add_action('frugal_hook_after_comment', 'label_frugal_hooks'); add_action('frugal_hook_before_sidebars', 'label_frugal_hooks'); add_action('frugal_hook_after_sidebars', 'label_frugal_hooks'); add_action('frugal_hook_after_feature_box', 'label_frugal_hooks'); add_action('frugal_hook_before_sidebar_1', 'label_frugal_hooks'); add_action('frugal_hook_after_sidebar_1', 'label_frugal_hooks'); add_action('frugal_hook_before_sidebar_2', 'label_frugal_hooks'); add_action('frugal_hook_after_sidebar_2', 'label_frugal_hooks'); add_action('frugal_hook_before_sidebar_h', 'label_frugal_hooks'); add_action('frugal_hook_after_sidebar_h', 'label_frugal_hooks'); add_action('frugal_hook_before_bottom_feature', 'label_frugal_hooks'); add_action('frugal_hook_after_bottom_feature', 'label_frugal_hooks'); add_action('frugal_hook_before_footer', 'label_frugal_hooks'); add_action('frugal_hook_after_footer', 'label_frugal_hooks'); add_action('frugal_hook_footer', 'label_frugal_hooks');