It's just like writing your own custom loop except the post type will be your custom post type instead of "post".
I'll post code when I get back to my desk
--
You received this message because you are subscribed to the Google Groups "WordPress Grand Rapids (WPGR)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wpgr+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is how to loop through them:
http://codex.wordpress.org/Template_Tags/get_posts
Just change this line:
'post_type' => 'post',
To:
'post_type' => 'your_custom_post_type',
There are examples further down the page on how to loop through them and output the data.
You should be able to do this as a shortcode to place in content.
Here is how you create shortcodes:
http://codex.wordpress.org/Shortcode_API
//[wikilist]function wikilist_func( $atts ){
$output = '';global $post;
$output .= '<ul class="wikilist">';
$args = array( 'posts_per_page' => 7, 'post_type'=> 'incsub_wiki', 'orderby' => 'modified', 'order' => 'DESC' );
$myposts = get_posts( $args );foreach ( $myposts as $post ) : setup_postdata( $post ); $output .= '<li><a href="' . get_the_permalink($post->id) . '">' . get_the_title($post->id) . '</a></li>';endforeach; wp_reset_postdata();$output .= '</ul>';return $output;
}add_shortcode( 'wikilist', 'wikilist_func' );