'Featured', 'public' => true, 'exclude_from_search' => true, 'has_archive' => true, 'supports' => array( 'title', 'editor' ), ) ); }*/ /** * shortcode for FEATURED */ /*add_shortcode('gimme_featured', 'featured_shortcode'); function featured_shortcode() { $loop = new WP_Query( array( 'post_type' => 'featured', 'posts_per_page' => -1 ) ); $text = ''; while ( $loop->have_posts() ) { $loop->the_post(); $text .= ''; } wp_reset_query(); return $text; }*/ /** * shortcodes in the widgets */ /*add_filter( 'widget_text', 'do_shortcode' );*/ ?>