'foobar', 'name' => 'foobar', 'description' => __('Widgets you add here will be added to the Footer', 'bloggerpad'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '
', 'after_title' => '
', )); } } function SearchFilter($query) { if ($query->is_search) { $query->set('post_type', 'post'); } return $query; } add_filter('pre_get_posts','SearchFilter'); /* Title filter */ function bloggerpad_title( $title ) { // Get the Site Name $site_name = get_bloginfo( 'name' ); // Prepend it to the default output $filtered_title = $site_name . $title; // Return the modified title return $filtered_title; } add_filter( 'wp_title', 'bloggerpad_title'); add_theme_support( 'custom-background' ); /* Content width */ if ( ! isset( $content_width ) ) $content_width = 730; ?>