__( 'Sidebar Widget Area' ),
'id' => 'sidebar-widget-area',
'description' => __( 'The sidebar widget area' ),
'before_widget' => '
',
'after_widget' => '
',
'before_title' => '',
'after_title' => '
',
));
register_sidebar( array(
'name' => __( 'Footer Widget Area' ),
'id' => 'footer-widget-area',
'description' => __( 'The footer widget area' ),
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
) );
function my_init_method() {
if (!is_admin()) {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js');
wp_enqueue_script( 'jquery' );
}
if ( !is_admin() ) {
wp_register_script('custom_script',
get_bloginfo('template_directory') . '/js/custom-jquery-script.js');
wp_enqueue_script('custom_script');
}
}
add_action('init', 'my_init_method');
add_editor_style();
add_theme_support('post-thumbnails');
add_theme_support( 'automatic-feed-links' );
if ( is_singular() ) wp_enqueue_script( "comment-reply" );
if ( ! function_exists( 'all_orange_posted_on' ) ) :
function all_orange_posted_on() {
echo '';
echo '
';
echo '
by ';
echo get_the_author();
echo '
';
echo '
';
echo comments_popup_link('No Comments', '1 Comment', '% Comments', '', '');
echo '
';
echo '
';
}
endif;
if ( ! function_exists( 'all_orange_posted_in' ) ) :
function all_orange_posted_in() {
echo 'Posted in ';
echo the_category(', ');
echo edit_post_link('Edit', '', ' | ');
/*echo ' ';
echo comments_popup_link('No Comments', '1 Comment', '% Comments', '', '');*/ //uncomment if needed
}
endif;
?>