Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( is_user_logged_in() ):
- query_posts(array(
- 'post_type' => 'klusjes',
- 'showposts' => 3
- ) );
- ?>
- <?php while (have_posts()) : the_post(); ?>
- <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
- <p><?php echo limit_words(get_the_excerpt(), '20'); ?></p>
- <?php endwhile;
- else :
- echo "Je hebt nog geen klusjes geplaatst";
- endif;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement