Het is een wilde gok maar ik denk dat de loop aangepast wordt op de zoekpagina. Als de loop gefilterd wordt en het widget haalt zijn informatie uit de loop dan toont deze dezelfde pagina’s.
Zowel de naam en categorie zoekpagina hebben hier last van dus het zit in de zoekpagina.
Bedankt Patriek, voor je advies!
Ik zoek het dus in de search.php: is dit wat je bedoelt..?
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post-title" id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
</div> <!-- end "post-title" -->
<div class="post-entry">
<?php the_content('Read the rest of this entry »'); ?>
</div><!-- end "post-entry" -->
Ik begrijp weinig van deze code..