I have a page with a Content Query WP that retrieves and displays a series of items from a list (blog posts). I have edited ItemStyle.xsl for this list and created a brand new item style that I then selected in the WP settings (tool part).
Everything works as expected. All col admins, owners, members, ... see the items with my custom style when they visit the page.
Except for visitors.
when I visit the page as a visitor, the display rolls back to some sort of default display. However what puzzles me is that it doesn't seem to be the "default" display stored in my custom ItemStyle.xsl.
I have done the following tests :
- When I completely empty ItemStyle.xsl, then the WP displays an error message (which shows that it relies on this file somehow)
- But when I add the word FOOBAR in many, many places of my ItemStyle.xsl, then it appears nowhere in that mysterious "default" rendering.
What's going on? Why do I see this default display out of nowhere, and why does it seem to have no links with my ItemStyle.xsl?