投稿/ページが使用しているテーマテンプレートファイルをヘッダーに出力する
add_action('wp_head', 'show_template');
function show_template() {
    global $template;
    print_r($template);
}
テーマがpost_classを使用している場合、デフォルトのDIV出力を短くします。
テーマが次のようなものを使用している場合 
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
次のような、またはさらに長いソースのクレイジーな長いdivを使用できます。
<div id="post-4" class="post-4 post type-post hentry category-uncategorized category-test category-test-1-billion category-test2 category-test3 category-testing"> 
これは本当にソースを混乱させ始める可能性があり、ほとんどの場合かなり不必要に見えるかもしれません。
上の例では、次のように出力をスライスできます。
// slice crazy long div outputs
    function category_id_class($classes) {
        global $post;
        foreach((get_the_category($post->ID)) as $category)
            $classes[] = $category->category_nicename;
            return array_slice($classes, 0,5);
    }
    add_filter('post_class', 'category_id_class');
これは、最初の5つの値のみを含むように出力をスライスするため、上記の例は次のようになります。
<div id="post-4" class="post-4 post type-post hentry category-uncategorized"> 
投稿タイプに関係なく、カテゴリアーカイブにすべての投稿を表示する:カスタム投稿タイプに適しています
function any_ptype_on_cat($request) {
 if ( isset($request['category_name']) )
  $request['post_type'] = 'any';
 return $request;
}
add_filter('request', 'any_ptype_on_cat');
不要なダッシュボードアイテムを削除する
これはすでに投稿されていますが、アイテムの完全なリストがありませんでした。特に迷惑な「着信リンク!」
add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');
function my_custom_dashboard_widgets() {
global $wp_meta_boxes;
 //Right Now - Comments, Posts, Pages at a glance
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_right_now']);
//Recent Comments
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']);
//Incoming Links
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']);
//Plugins - Popular, New and Recently updated Wordpress Plugins
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']);
//Wordpress Development Blog Feed
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_primary']);
//Other Wordpress News Feed
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary']);
//Quick Press Form
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']);
//Recent Drafts List
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']);
}
「続きを読む」ページのジャンプを削除**
代わりに、ページの上部に戻ります。「続きを読む」をクリックすると、ページ内の迷惑な場所にジャンプする方法がわかります。これにより、ページが正常に読み込まれ、ジャンプすることはありません。
function remove_more_jump_link($link) { 
$offset = strpos($link, '#more-');
if ($offset) {
$end = strpos($link, '"',$offset);
}
if ($end) {
$link = substr_replace($link, '', $offset, $end-$offset);
}
return $link;
}
add_filter('the_content_more_link', 'remove_more_jump_link');
ユーザー名に基づいてADMINメニュー項目を制限し、ユーザー名を実際のユーザーの名前に置き換えます。
function remove_menus()
{
    global $menu;
    global $current_user;
    get_currentuserinfo();
    if($current_user->user_login == 'username')
    {
        $restricted = array(__('Posts'),
                            __('Media'),
                            __('Links'),
                            __('Pages'),
                            __('Comments'),
                            __('Appearance'),
                            __('Plugins'),
                            __('Users'),
                            __('Tools'),
                            __('Settings')
        );
        end ($menu);
        while (prev($menu)){
            $value = explode(' ',$menu[key($menu)][0]);
            if(in_array($value[0] != NULL?$value[0]:"" , $restricted)){unset($menu[key($menu)]);}
        }// end while
    }// end if
}
add_action('admin_menu', 'remove_menus');
//代わりにif($ current_user-> user_login!= 'admin')を代わりに使用できます。おそらくより便利です
タグクラウドをスタイルする
//tag cloud custom
add_filter('widget_tag_cloud_args','style_tags');
function style_tags($args) {
$args = array(
     'largest'    => '10',
     'smallest'   => '10',
     'format'     => 'list',
     );
return $args;
}
ここにオプションの完全なリファレンス(たくさんあります!)  http://codex.wordpress.org/Function_Reference/wp_tag_cloud
デフォルトのRSSウィジェット更新タイマーを変更する
(デフォルトは忘れて6または12時間です(1800 = 30min)。
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$fixrss', 'return 1800;') );