from around images - customizing the post excerpt - custom google+ integration - adding custom fields to user profiles */ require_once('library/emerald.php'); // if you remove this, emerald will break /* 2. library/custom-post-type.php - slider post type */ require_once('library/custom-post-type.php'); // you can disable this if you like /* 3. options-panel.php - adding options panel */ include('options-panel.php'); /* 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( 'emerald-thumb-600', 600, 150, true ); add_image_size( 'emerald-thumb-300', 300, 100, true ); add_image_size( 'emerald-thumb-250-square', 250, 250, true ); add_image_size( 'emerald-thumb-200-square', 200, 200, true ); add_image_size( 'emerald-thumb-150-square', 150, 150, 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! */ /************** CONTENT WIDTH *********************/ if ( ! isset( $content_width ) ) $content_width = 600; /************* ACTIVE SIDEBARS ********************/ // Sidebars & Widgetizes Areas function emerald_register_sidebars() { register_sidebar(array( 'id' => 'sidebar1', 'name' => __('Sidebar 1', 'emeraldtheme'), 'description' => __('The first (primary) sidebar.', 'emeraldtheme'), 'before_widget' => '
', 'before_title' => '