; } ?>">Advertising
© 2007 - Barefoot Foodie, All Rights Reserved
Header design by Maria Melee / Thesis customization by Big Sea Design
Built on the Thesis framework
array( 'name' => __( 'Asides' ), 'singular_name' => __( 'Aside' ), 'add_new' => __( 'Add New' ), 'add_new_item' => __( 'Add New Aside' ), 'edit' => __( 'Edit' ), 'edit_item' => __( 'Edit Aside' ), 'new_item' => __( 'New Aside' ), 'view' => __( 'View Aside' ), 'view_item' => __( 'View Aside' ), 'search_items' => __( 'Search Asides' ), 'not_found' => __( 'No Asides found' ), 'not_found_in_trash' => __( 'No Asides found in Trash' ), ), 'public' => true, 'show_ui' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'menu_position' => 5, 'hierarchical' => false, 'capability_type' => 'post', 'menu_icon' => get_stylesheet_directory_uri() . '/custom/images/aside_menu.png', 'query_var' => true, 'rewrite' => array( 'slug' => 'aside', 'with_front' => false ), 'supports' => array('title', 'author', 'excerpt', 'editor', 'comments' ), ) ); } /* END Custom Post Type 'Aside' */ /* BEGIN Adding Thesis Meta Boxes */ add_action('admin_menu','my_admin_menu'); function my_admin_menu() { $post_options = new thesis_post_options; $post_options->meta_boxes(); foreach ($post_options->meta_boxes as $meta_name => $meta_box) { add_meta_box($meta_box['id'], $meta_box['title'], array('thesis_post_options', 'output_' . $meta_name . '_box'), 'asides', 'normal', 'default'); #wp } add_action('save_post', array('thesis_post_options', 'save_meta')); #wp } /* END Adding Thesis Meta Boxes */ // Remove page title from homepage function aside_headline() { if (is_page('asides')) return false; else return true; } /* BEGIN Adding Custom Post Types to Main Feed */ function main_feed_additions($qv) { if (isset($qv['feed']) && !isset($qv['post_type'])) $qv['post_type'] = array('post', 'asides'); return $qv; } /* END Adding Custom Post Types to Main Feed */ function aside_callout () { if (is_home() || is_front_page()) { ?>