如何为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();
?>
<?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();
?>
相关文章推荐
- python3使用tkinter实现ui界面简单实例
- 在Mac和PC之间共享鼠标键盘(拥有多台电脑者必看)
- Python格式化字符串和随机生成ip地址
- Git 分支管理策略
- 常用SQL整理
- 音量图标不显示了怎么恢复
- 为什么哈希表长度须要是质数?
- dup and dup2的剖析
- eclipse_javaEE配置中的常见问题及解决办法
- postgres数据库几个重要的备忘命令
- 12306
- #pragma alloc_text
- ubuntu自动挂载硬盘
- 一步一步学JBPM(8)——JBPM自由流
- undo表空间
- PHP的Reflection反射机制
- 解决ilasm.exe无法编译 IL代码一例
- C++ MFC EDIT控件显示多行内容,并总是在底部显示最新内容,滚动显示。
- MySql delimiter的作用是什么
- Jquery跨域获取php数据