0
votes
1answer
21 views

My loop of random posts drags in comments of said random post

Hi I am setting up a random post generator so that a list of random posts from a chosen category can be displayed on a post. I also made it into a shortcode so it could be applied in an editor. THE ...
3
votes
2answers
554 views

Resetting post data to previous loop in nested loops

I'm trying to use nested loops with the posts to posts plugin. The loops both work, but the problem arises after the second nested loop ($issue). I want to access the $publication loop again, but the ...
1
vote
1answer
732 views

Is there any need to use both wp_reset_postdata and wp_reset_query together?

Is there any need to use both wp_reset_postdata() and wp_reset_query() together? Is it a case that I would pick one of the two functions; is there any point in doing this after a query : ...