<?php /* Start the Loop */ while (have_posts()) { the_post(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <?php meetup_get_template_part('meetup', 'header'); ?> <div class="entry-content"> <?php the_content(); ?> </div> </article> <?php } meetup_content_nav('nav-below'); ?> <?php
while (have_posts()) { the_post(); ?> <?php $part = 'content'; if (meetup_is_speaker_page()) { $part = 'speakers'; } elseif (meetup_is_sponsor_page()) { $part = 'sponsors'; } elseif (meetup_is_schedule_page()) { $part = 'schedule'; } elseif (meetup_is_attendies_page()) { $part = 'attendies'; } elseif (meetup_is_gallery_page()) { $part = 'gallery'; } $part = apply_filters('meetup_single_template_part', $part); meetup_get_template_part('meetup', $part); ?> <?php } // end of the loop. ?> </div><!-- #content --> </div><!-- #primary --> <?php get_footer();