the_content in order to append a grid of related posts onto a single post with a nested
WP_Query and would like to use the same content.php file as I do for my main query. The problem is that my 'normal' conditionals no longer work as required, for example
is_single() returns true, (as expected, we're on a single) but I really need to treat this instance of the loop as
I've attempted to differentiate using
is_main_query() but that's also returning true inside my nested query.
My question is, how can I differentiate between my 'main' and my 'nested' query in order to conditionally output the content?