admin管理员组

文章数量:1391955

I wanted to add specific class to all posts within loop using post_class and in_the_loop check but I can't get it working. From what I saw the function in_the_loop only check the global $wp_query and not the current one.

Is there any function to retrieve arguments of currently active query and not the global one?

本文标签: intheloop() issue with custom query