from around images - customizing the post excerpt - custom google+ integration - adding custom fields to user profiles */ require_once( 'library/bones.php' ); // if you remove this, bones will break /* 2. library/custom-post-type.php - an example custom post type - example custom taxonomy (like categories) - example custom taxonomy (like tags) */ require_once( 'library/custom-post-type.php' ); // you can disable this if you like /* 3. library/admin.php - removing some default WordPress dashboard widgets - an example custom dashboard widget - adding custom login css - changing text in footer of admin */ // require_once( 'library/admin.php' ); // this comes turned off by default /* 4. library/translation/translation.php - adding support for other languages */ // require_once( 'library/translation/translation.php' ); // this comes turned off by default /************* THUMBNAIL SIZE OPTIONS *************/ // Thumbnail sizes add_image_size( 'bones-thumb-600', 600, 150, true ); add_image_size( 'bones-thumb-300', 300, 100, true ); /* to add more sizes, simply copy a line from above and change the dimensions & name. As long as you upload a "featured image" as large as the biggest set width or height, all the other sizes will be auto-cropped. To call a different size, simply change the text inside the thumbnail function. For example, to call the 300 x 300 sized image, we would use the function: for the 600 x 100 image: You can change the names and dimensions to whatever you like. Enjoy! */ add_filter( 'image_size_names_choose', 'bones_custom_image_sizes' ); function bones_custom_image_sizes( $sizes ) { return array_merge( $sizes, array( 'bones-thumb-600' => __('600px by 150px'), 'bones-thumb-300' => __('300px by 100px'), ) ); } /* The function above adds the ability to use the dropdown menu to select the new images sizes you have just created from within the media manager when you add media to your content blocks. If you add more image sizes, duplicate one of the lines in the array and name it according to your new image size. */ /************* ACTIVE SIDEBARS ********************/ // Sidebars & Widgetizes Areas function bones_register_sidebars() { register_sidebar(array( 'id' => 'sidebar1', 'name' => __( 'Sidebar 1', 'bonestheme' ), 'description' => __( 'The first (primary) sidebar.', 'bonestheme' ), 'before_widget' => '
', 'before_title' => '