body_class();} class InterconnectITTheme { function InterconnectITTheme() { add_action("admin_menu",array($this,"add_sidebar_options")); //Call a function that will add my custom page interface to pages. add_action("wp_insert_post",array($this,"process_single_page_options")); // Process any options when a page is saved add_filter("loginout",array($this,"no_follow_login")); // Adds a nofollow to the login logout. if (file_exists(TEMPLATEPATH."/widget/icit-navigation-widget.php")){ /* Add my custom navigation widget to the list of available widgets. The file can be moved out of the widget folder and into the plugins folder if needed. */ include_once TEMPLATEPATH."/widget/icit-navigation-widget.php"; define("HEADER_TEXTCOLOR","fff"); define("HEADER_IMAGE","%s/style/logo.png"); // %s is theme dir uri define("HEADER_IMAGE_WIDTH", 128); define("HEADER_IMAGE_HEIGHT", 128); } if (function_exists("add_custom_image_header")) { add_custom_image_header("customImageHeader","customImageAdminHeader"); } /* Register the two sidebars, first one is your normal sidebar and the second is the ad-banner type space at the top. */ if ( function_exists("register_sidebar") ) { register_sidebar(array( "name" => "Sidebar", "before_widget" => "
", "before_title" => "