Custom Content Type Manager
[resolved] Displaying a Content Type in a Grid View (3 posts)

  1. foochuck
    Posted 3 years ago #

    I've created a content type called 'faq'. It consists of a title and an image.

    I've created 5 FAQ posts.

    I'd like to make a main FAQ page that pulls in all FAQs, it will pull in the title of each FAQ post, each image and a link to each.

    What kind of 'if' statement or loop can I run to output this information? Do I have any control on how the information is sorted from a loop?


  2. fireproofsocks
    Plugin Contributor

    Posted 3 years ago #

    I would use Summarize Posts, either the shortcode: http://code.google.com/p/wordpress-custom-content-type-manager/wiki/summarize_posts_shortcode or use the GetPostsQuery class' get_posts() function in your template file: http://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts_examples

  3. foochuck
    Posted 3 years ago #

    Exactly what I needed. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic