section add_theme_support('automatic-feed-links'); // loading jquery reply elements on single pages automatically function bones_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', 'bones_queue_js'); // Adding WP 3.0 Functions //menus add_theme_support( 'menus' ); // thumbnails add_theme_support('post-thumbnails'); set_post_thumbnail_size(125, 125, true); /* more sizes are available using the functions.php file */ // custom backgrounds add_custom_background(); // header image define( 'HEADER_IMAGE', '%s/images/default-headbg.png' ); define( 'HEADER_IMAGE_WIDTH', apply_filters( '', 960 ) ); // Width of Logo define( 'HEADER_IMAGE_HEIGHT', apply_filters( '', 150 ) ); // Height of Logo define( 'NO_HEADER_TEXT', true ); add_custom_image_header( '', 'admin_header_style' ); // adding post format support add_theme_support( 'post-formats', array( 'aside', /* Typically styled without a title. Similar to a Facebook note update */ 'gallery', /* A gallery of images. Post will likely contain a gallery shortcode and will have image attachments */ 'link', /* A link to another site. Themes may wish to use the first tag in the post content as the external link for that post. An alternative approach could be if the post consists only of a URL, then that will be the URL and the title (post_title) will be the name attached to the anchor for it */ 'image', /* A single image. The first tag in the post could be considered the image. Alternatively, if the post consists only of a URL, that will be the image URL and the title of the post (post_title) will be the title attribute for the image */ 'quote', /* A quotation. Probably will contain a blockquote holding the quote content. Alternatively, the quote may be just the content, with the source/author being the title */ 'status', /*A short status update, similar to a Twitter status update */ 'video', /* A single video. The first