Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="frontpage-large">
- <?php
- // The Query
- $featured_query = new WP_Query( 'category_name=featured&posts_per_page=1&paged=1' );
- // The Loop
- while ( $featured_query->have_posts() ) : $featured_query->the_post();
- ?>
- <?php the_post_thumbnail('full'); ?>
- <div id="frontpage-large-header">
- <h1 class="fontface"><?php the_title(); ?></h1>
- </div>
- <div id="frontpage-large-content">
- <?php the_content('Lees verder »'); ?>
- </div>
- <?php
- endwhile;
- // Reset Post Data
- wp_reset_postdata();
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement