WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
Display FULL posts below each other (3 posts)

  1. rob2010
    Member
    Posted 1 year ago #

    Hi,

    Is there a way to display all the posts below each other?

    When I use the shortcode, [summarize_posts] , I only see a list of posts titles. I would like to see the full content of the posts including pictures added to that post. Is there a quick way to get this shown on a page?
    I have read the Wiki, but I don understand what I should do to get this done. Maybe someone can post me in the right direction?

    Many thanks

    http://wordpress.org/extend/plugins/custom-content-type-manager/

    [ Please do not bump, that's not permitted here. ]

  2. wu-wei
    Member
    Posted 1 year ago #

    I don't think there's any solution that doesn't require your own code. You'll probably need to iterate over get_posts() in one of your template files.

    See: http://codex.wordpress.org/Template_Tags/get_posts
    For instance:
    $myPosts = get_posts(array('post_type' => 'your-content-type');
    At some point during The Loop you'll want to get your custom fields either via:
    $meta = get_post_custom($myPost->ID);
    or
    print_custom_field()

    In the CCTM settings page, each content type has a link to 'View Sample Templates' That sample code will probably help too.

  3. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic