Beschrijving
Ga naar de inhoud
Nederlands
Ga naar de inhoud
dennisv1982
Aangemaakte reacties
1 reactie aan het bekijken (van in totaal 1)
- Forum: Algemeen WordPress
In antwoord op: hoe kan ik een specifieke categorie op de voorpagina zetten?zelf gefixed, als andere het nodig hebben:
<div id="content" class="narrowcolumn" role="main"> <?php if (have_posts()) : ?> <?php query_posts('category_name=nieuws&showposts=10'); ?> <?php while (have_posts()) : the_post(); ?> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="entry"> <?php the_content('Lees Verder... »'); ?> </div> <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?><?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('Geen Reacties »', '1 Reactie »', '% Reacties »'); ?></p> </div> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Eerdere Berichten') ?></div> <div class="alignright"><?php previous_posts_link('Nieuwe Berichten »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div>
1 reactie aan het bekijken (van in totaal 1)



