function jQueryGoogleApiInit() { // Make sure we're loading the Google API version of jQuery. Much faster // wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'); } add_action('init', 'jQueryGoogleApiInit');
Support added to functions.php.
register_nav_menus(array('primary_menu'=>'Primary Navigation Menu', 'footer_menu'=>'Secondary Footer Menu'));
add_theme_support('post-thumbnails');
add_theme_support('automatic-feed-links');
add_editor_style($stylesheet);
$stylesheet is a string path to the stylesheet you wish to add relative to the theme root. Can also be an array of strings.
add_custom_background($header_callback, $admin_header_callback, $admin_image_div_callback);
add_custom_image_header($header_callback, $admin_header_callback);
// Make Theme Accessible to Widgets //
if(function_exists(‘register_sidebar’))
{ // Full featured sidebar // register_sidebar(array ( ‘name’ => sprintf(__(‘Sidebar %d’), $i ), ‘id’ => ‘sidebar-$i’, ‘description’ => ‘’, ‘before_widget’ => ‘
// Minimal Sidebar // register_sidebar(array ( ‘before_widget’ => ‘
‘, ‘before_title’ => ‘