Support » Themes and Templates » Custom Content Types – Displaying Content On 1 Page?

  • Hi there,

    Can someone please help me? This is something I’ve been trying to figure out for a couple of years, and since 3.0, it’s been itching me like crazy since I’m so close!

    I created a custom content type called Events and added in my fields. I go to “Add New Event” and add my event, it’s added; preview here:

    So I create another New Event here:

    How do I pull the information from both of those pages, in fact, all the content underneath the content-type of “events” onto one single page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    Figured it out! Thank you esmi 🙂 🙂 🙂 Now, I can’t stop smiling.

    This is what I ended up doing in combination with the Easy Post Types plugin (if anybody’s curious):

    $loop = new WP_Query( array( 'post_type' => 'events', 'posts_per_page' => -1 ) );
    while ( $loop->have_posts() ) : $loop->the_post();
      echo '<div class="entry-content">';
      echo '</div>';
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Content Types – Displaying Content On 1 Page?’ is closed to new replies.