您的位置:首页 > 其它

如何为WP做ENABLING FUNCTION的技术支持

2014-01-10 10:33 253 查看
如何为WP做ENABLING FUNCTION的技术支持介绍,希望对朋友们有点帮助!

<?php   
/* ------------------------------------- */  
/* ENABLING FUNCTION SUPPORT */  
/* ------------------------------------- */  
  
if (function_exists('add_theme_support')){   
    add_theme_support( 'post-thumbnails');   
}   
if (function_exists('add_theme_support')) {   
    add_theme_support('menus');   
}   
if ( function_exists('automatic-feed-links')) {   
    add_theme_support( 'automatic-feed-links');   
}   
  
remove_action ('wp_head', 'rsd_link');   
remove_action ('wp_head', 'wlwmanifest_link');   
remove_action ('wp_head', 'wp_generator');   
  
the_post_thumbnail();   
the_tags();   
?>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: