is_main_query function
-
Hi All!
I’m running into an issue with the Plugin WP Recipe Maker and how it insert’s it’s snippet buttons into a post.
It uses is_main_query function to do so and there should only be one per page.
When I use the widget to add reusable blocks to a widget area, in this case the footer, it’s accidentally getting WPRM’s snippet added twice.
I have them hidden right now but here’s an example: https://capture.dropbox.com/PTEkSV2unVyyNX3y
https://www.blondelish.com/recipes/easy-macaroni-salad-recipe/
- The topic ‘is_main_query function’ is closed to new replies.