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'); }
function admin_init() { addThemeSupport(); }