'sidebar', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', )); /* =MENUS SUPPORT ********************************/ if ( function_exists( 'wp_nav_menu' ) ){ if (function_exists('add_theme_support')) { add_theme_support('nav-menus'); add_action( 'init', 'register_my_menus' ); function register_my_menus() { register_nav_menus( array( 'primary-menu' => __( 'Primary Menu' ) ) ); } } } add_image_size('home-thumb','590','330',true); add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 100, 100, true ); function home_excerpt_length($length) { return 25; } add_filter('excerpt_length', 'home_excerpt_length'); if ( ! isset( $content_width ) ) $content_width = 720; function trim_excerpt($text) { return rtrim($text,'[...]'); } add_filter('get_the_excerpt', 'trim_excerpt'); function theme_queue_js(){ if (!is_admin()){ if (!is_page() AND is_singular() AND comments_open() AND (get_option('thread_comments') == 1)) { wp_enqueue_script( 'comment-reply' ); } } } add_action('get_header', 'theme_queue_js'); add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'wp-pagenavi' ); } // Get the id of a page by its name function get_page_id($page_name){ global $wpdb; $page_id = $wpdb->get_var("SELECT ID FROM $wpdb->posts WHERE post_name = '".$page_name."'"); return $page_id; } function autoshow_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    comment_parent > 0):?> %s reply to %s on', get_comment_author_link(), get_comment_author($comment->comment_parent)); ?> says on' ), sprintf( '%s', get_comment_author_link() ) ); ?> :
    comment_approved == '0' ) : ?> ' ); ?>
    $depth, 'max_depth' => $args['max_depth']) ) ); ?>
  • No Category.
    Dashboard->Appearance->Footer.'); add_custom_image_footer(); } function autoshow_admin_header_style() { ?>

    Auto Show Options

    Home Page Settings
    0) { set_theme_mod('about_page', $_REQUEST['page_id']); } $page_id = get_page(get_theme_mod('about_page', '0')); if ($page_id > 0) print "About page is: \"" . $page_id->post_title . "\"."; else print "No about page selected."; ?>

    To see your own images on the Home page, please go to Media and upload images greather than 590 x 330 pixels. If you uploaded more, they will be displayed random to each page's refresh.

    Note: To view these images, please do not attach them to any post.