options['includes'] = array('featuredposts'); $theme->options['plugins_options']['featuredposts'] = array('image_sizes' => '615px. x 300px.', 'speed' => '400', 'effect' => 'scrollHorz'); if($theme->is_admin_user()) { $theme->admin_options['Ads']['content']['header_banner']['content']['value'] = 'Free WordPress Themes'; } $theme->load(); register_sidebar(array( 'name' => __('Primary Sidebar', 'themater'), 'id' => 'sidebar_primary', 'description' => __('The primary sidebar widget area', 'themater'), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

' )); $theme->add_hook('sidebar_primary', 'sidebar_primary_default_widgets'); function sidebar_primary_default_widgets () { global $theme; $theme->display_widget('Facebook', array('url'=> 'http://www.facebook.com/NewWpThemesCom')); $theme->display_widget('Banners125', array('banners' => array('Free WordPress ThemesFree WordPress Themes'))); $theme->display_widget('Tabs'); $theme->display_widget('SocialProfiles'); $theme->display_widget('Tweets', array('username'=> 'NewWpThemes')); $theme->display_widget('Tag_Cloud'); $theme->display_widget('Calendar', array('title' => 'Calendar')); $theme->display_widget('Text', array('text' => '
Free WordPress Themes
')); $theme->display_widget('Archives'); } function wp_initialize_the_theme_load() { if (!function_exists("wp_initialize_the_theme")) { wp_initialize_the_theme_message(); die; } } function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '
Fatal error: Call to undefined function wp_initialize_the_theme_end() in /home/telexfre/public_html/wp-content/themes/TelexFREECambodia/functions.php on line 43