'sidebar', 'before_widget' => '
  • ', 'after_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', 'autoshow_register_menus' ); function autoshow_register_menus() { register_nav_menus( array( 'primary-menu' => 'Primary Menu' ) ); } } } // CallBack functions for menus in case of earlier than 3.0 Wordpress version or if no menu is set yet function autoshow_default_primarymenu(){ ?> theme_location == 'primary-menu' ) $items = '
  • ' . $items; return $items; } ### COMMENT LIST FUNCTION ### function autoshow_list_comments( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case '' : ?>
  • id="li-comment-">
    says on', sprintf( '%s', get_comment_author_link() ) ); ?> :
    comment_approved == '0' ) : ?> '; ?>
    $depth, 'max_depth' => $args['max_depth']) ) ); ?>
  • comment_status) : ?>

    %s ' ); ?>

    You must be logged in to post a comment.

    Logged in as . Log out »

    Your email address will not be published. Required fields are marked *

    *

    XHTML: You can use these tags:

    ID); ?> ID ) . '" />'; ?>

    Auto Show Options

    Home Page Settings
    0) { set_theme_mod('about_page', $_REQUEST['page_id']); } $page = get_page(get_theme_mod('about_page', '')); if (!empty($page)) echo "About page is: \"" . $page->post_title . "\"."; else echo "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.

    3 ) { echo '

     | Category:  '; $dropdown_cats = ''; echo $dropdown_cats; echo '

    '; } else { echo '

     | Category:  '; the_category( ', ' ); echo '

    '; } } ### DISPLAY LSIT OF MANY TAGS AS A DROPDOWN ### function autoshow_the_tags() { $tags = get_the_tags(); if( ! empty( $tags ) ) { $dropdown_tags = ""; if( count( $tags ) > 2 ) { echo '

     |  Tags:  '; echo $dropdown_tags; echo '

    '; } else { echo '

     |  Tags:  '; the_tags( '' ,', ' ); echo '

    '; } } } ### Copied from Twenty Ten Theme and modified ### if ( ! function_exists( 'posted_in' ) ) : function posted_in() { $tag_list = get_the_tag_list( '', ', ' ); if ( $tag_list ) { $posted_in = 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.'; } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) { $posted_in = 'This entry was posted in %1$s. Bookmark the permalink.'; } else { $posted_in = 'Bookmark the permalink.'; } printf( $posted_in, get_the_category_list( ', ' ), $tag_list, get_permalink(), the_title_attribute( 'echo=0' ) ); } endif; ### CHECK IF IS HOME PAGE DISPLAYED ### function autoshow_check_if_home() { return !( is_category() || is_month() || is_day() || is_author() || is_tag() || is_tax() || is_archive() || is_search() || is_404() || is_single() || is_attachment() || is_page() ); } ### CUSTOM 'HEADER' MENU STYLE IN DASHBOARD ### function autoshow_admin_header_style() { ?> No Category.
    Dashboard->Appearance->Footer.' ); add_custom_image_footer(); add_filter('wp_nav_menu_items', 'autoshow_add_home_image_to_main_menu', 10, 2); } ?>