Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <section class="section-news">
- <div class="container">
- <div class="row">
- <div class="col-md-8">
- <div class="row">
- <?php while ( have_posts() ) : the_post(); ?>
- <div class="col-sm-12 news-item single">
- <h1><?php the_title(); ?></h1>
- <div class="thumb-container">
- <?php the_post_thumbnail(); ?>
- </div>
- <?php if(get_field('organisatie') || get_field('begin_datum') || get_field('eind_datum')): ?>
- <ul>
- <?php if(get_field('organisatie')): ?>
- <li><strong><?php echo get_field_object('organisatie')['label']; ?>:</strong> <?php the_field('organisatie'); ?></li>
- <?php endif; ?>
- <?php if(get_field('begin_datum')): ?>
- <li><strong><?php echo get_field_object('begin_datum')['label']; ?>:</strong> <?php the_field('begin_datum'); ?></li>
- <?php endif; ?>
- <?php if(get_field('eind_datum')): ?>
- <li><strong><?php echo get_field_object('eind_datum')['label']; ?>:</strong> <?php the_field('eind_datum'); ?></li>
- <?php endif; ?>
- </ul>
- <?php endif; ?>
- <?= the_content(); ?>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- <div class="col-md-3 col-md-offset-1">
- <?php dynamic_sidebar( 'case-sidebar' ); ?>
- </div>
- </div>
- </div>
- </section>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement