'Sidebar', 'biotodoma' , 'id' => 'sidebar-widget-area', 'description' => 'The sidebar widget area', 'biotodoma', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); // Footer Widget Left register_sidebar(array( 'name'=>'Footer Left', 'biotodoma', 'id' => 'left-footer-widget-area', 'description' =>'The left footer widget area', 'biotodoma', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); // Footer Widget Middle register_sidebar(array( 'name'=>'Footer Middle', 'biotodoma', 'id' => 'middle-footer-widget-area', 'description' => 'The middle footer widget area', 'biotodoma', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); // Footer Widget Right register_sidebar(array( 'name'=>'Footer Right', 'biotodoma', 'id' => 'right-footer-widget-area', 'description' =>'The right footer widget area', 'biotodoma', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } /** Register sidebars by running biotodoma_widgets_init() on the widgets_init hook. */ add_action( 'widgets_init', 'biotodoma_widgets_init' ); // post thumbnail support add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in three locations. register_nav_menus(array( 'header-menu' => 'Header Menu', 'sidebar-menu' => 'Sidebar Menu', 'footer-menu' => 'Footer Menu' ) ); // custom background support add_custom_background(); // automatic feed links add_theme_support('automatic-feed-links'); // add callback for custom TinyMCE editor stylesheets. add_editor_style(); // removes detailed login error information for security add_filter('login_errors',create_function('$a', "return null;")); // Removes Trackbacks from the comment cout add_filter('get_comments_number', 'biotodoma_comment_count', 0); function biotodoma_comment_count( $count ) { if ( ! is_admin() ) { global $id; $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); return count($comments_by_type['comment']); } else { return $count; } } // custom excerpt ellipses function biotodoma_excerpt_ellipse($text) { return str_replace('[...]', ' Read more...', $text); } add_filter('the_excerpt', 'biotodoma_excerpt_ellipse'); // wp_enqueue_script calls function biotodoma_theme_queue_js(){ if (!is_admin()){ if ( is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) wp_enqueue_script( 'comment-reply' ); } } add_action('wp_print_scripts', 'biotodoma_theme_queue_js'); // Custom Comments List. function biotodoma_mytheme_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • id="li-comment-">
    comment_approved == '0') : ?>
    Your comment is awaiting moderation.

    ', '

    '); ?>
    $depth, 'max_depth' => $args['max_depth']))); ?>
    pings callback */ function biotodoma_custom_pings($comment, $args, $depth) { $GLOBALS['comment'] = $comment; if('pingback' == get_comment_type()) $pingtype = 'Pingback'; else $pingtype = 'Trackback'; ?>
  • - on comment_date); ?>