Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter bierk

    (@bierk)

    I’m using this code for displaying posts:

    get_header(); ?>
    <img width="980" height="800" src="http://www.verstijlenhekwerken.nl/new/wp-content/uploads/2012/02/DSC_0027-980x800.jpg" class="bg wp-post-image" alt="DSC_0027" title="DSC_0027" />
    	<div class="content">
            <?php get_sidebar("filter"); ?>
            <div class="archive">
            	<h1>Projecten</h1>
                <hr class="title" />
    <?php
    if ( have_posts() ){
    	while ( have_posts() ) : the_post();
    		echo "<div class='thumb'>";
    		$parameters = array('output' => 'html','size' => 'thumbnail');
    		echo(types_render_field('afbeelding', $parameters));
    		echo "</div>";
     	endwhile;
    }
    ?>
    			<hr class="bottom" />
                <div class="navigation">
                    <?php previous_posts_link('Volgende') ?> | <?php next_posts_link('Vorige') ?>
                </div>
    		</div>
         </div>
    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)