コード例 #1
0
ファイル: zurg.php プロジェクト: colbyfayock/fay.io
function launchTheme()
{
    add_action('init', 'cleanupHead');
    // See head.php
    addThemeSupport();
    // See theme-support.php
    add_action('widgets_init', 'registerSidebars');
    // See sidebar.php
    add_filter('get_search_form', 'getSearchForm');
    // See search.php
    add_filter('the_content', 'cleanImageTags');
    // See images.php
    add_filter('excerpt_more', 'cleanExcerptLinks');
}
コード例 #2
0
function admin_init()
{
    addThemeSupport();
}