Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Ame Home Blog
- */
- ?>
- <?php get_header(); ?>
- <div id="pageTitle">
- <h1><?php the_title(); ?></h1>
- </div>
- <!-- begin colLeft -->
- <div class="activities">
- <div class="activities_menu">
- <h2 style="padding-left: 10px;"><a href="#">Amsterdam Marketing Event</a></h2>
- <?php //wp_nav_menu(array('menu' => 'vereniging-menu'));
- if ( function_exists( 'wp_nav_menu' ) ){
- wp_nav_menu( array( 'theme_location' => 'ame-menu', 'container_id' => 'leftMenu', 'menu_class'=>'left-menu', 'fallback_cb'=>'mainmenu') );
- }
- ?>
- </div>
- </div>
- <div id="colLeft">
- <!--<h1><?php the_title(); ?></h1> -->
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <?php the_content(__('(more...)')); ?>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- <div class="blog-wrap">
- <p style="font-size:14px;">Laatste AME Nieuws</p>
- <!--<h1><?php the_title(); ?></h1> -->
- <?php //rewind_posts(); ?>
- <?php query_posts(array ( 'category_name' => 'ame', 'posts_per_page' => 3 )); ?>
- <?php if (have_posts()) {
- while (have_posts()) {
- ?>
- <div class="blog-message">
- <p style="font-size:14px;"><b><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></b></p>
- <div style="float: left; padding-right: 10px; padding-bottom: 10px;"><?php print the_post_thumbnail(); ?></div>
- <?php
- the_post();
- the_excerpt();
- //get_template_part( 'content', get_post_format() );
- //the_content(__('(more...)'));
- ?>
- <p><a href="<?php the_permalink(); ?>">lees meer >> </a></p>
- <div class="clear"></div>
- </div>
- <?php
- }
- } else {
- ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php } ?>
- </div>
- </div>
- <!-- end colleft -->
- <?php get_footer('ame'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement