In my header i've got this code:
<?php
$args = array( 'numberposts' => 1, 'orderby' => 'recent', 'cat' => '-7,-8,-9');
$rand_posts = get_posts( $args );
foreach( $rand_posts as $post ) : ?>
<a href="<?php the_permalink(); ?>">
<?php echo get_the_post_thumbnail($post->ID); ?>
<div id="newestpost" class="bg50 absolute">
<h1 href="<?php the_permalink(); ?>"><?php the_title(); ?></h1>
</div></a>
<?php endforeach; ?>
And this code does something, to the next and previous links..
If i remove it, the links work again.
But i dont want to remove the feature..
Can anyone help?