Return to Snippet

Revision: 16945
at August 19, 2009 02:41 by goaliedave67


Initial Code
/* 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');

Initial URL

                                

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

Initial Title
Highlight Frugal Pro Wordpress Theme Hooks

Initial Tags

                                

Initial Language
PHP