I've tried nearly every recommended solution that I found in this forum but none of those fixed my problem. I got 2 loops in a single.php...
the first loop is a custom loop that displays all articles with certain meta key value. The second loop is the loop for the requested single article.
Now I want pagination to work for the first loop. This is what the important part looks like:
$paged = (get_query_var('paged')); $wp_query->query('meta_key=example&meta_value='.$id.'&paged='.$paged);
Everything works fine except pagination and only if I'm using a custom permalink structure. With default permalink structure turned on even pagination worsk (id=X&paged=X).
Tryin to access domain.tld/archives/676/page/2 redirects me to domain.tld/archives/676/
But as I said using default permalink structure "domain.tld/?p=676&paged=2" just works like a charm displaying the right posts.
This one drives me crazy! Thanks in advance!