PHP 精选Frugal Pro Wordpress主题钩子
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP 精选Frugal Pro Wordpress主题钩子相关的知识,希望对你有一定的参考价值。
/* 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');
以上是关于PHP 精选Frugal Pro Wordpress主题钩子的主要内容,如果未能解决你的问题,请参考以下文章