I have a basic shortcode plugin. I noticed that the shortcode was being rendered twice, and so added a couple log statements to my plugin; they are logged 6 times when I am rendering a single page.
I tried turning off my plugin, and added a log statement to a different plugin; it was called the same number of times.
I notice that the number of calls varies between different types of pages (e.g. single post is only 4; the home page is 3; etc.)
Adding log statements to the template files themselves hasn't yielded any clues so far. I don't see evidence of double loops. A log statement in page.php is printed only once.
What's going on here?
Thanks