Hello,
I want to build a drop down menu using a query loop. Since I am using the menu in 2 different headers, I have created the menu within a component.
When I use the query loop within the component, it is not retrieving the data, but rather list the page it is currently on.
Query loop in the component:
The menu displayed:
(Header site is the name of the template).
If I do the same outside of the component, I get what I am expecting:
The 4 categories are retrieved and displayed in the menu:
Thanks and best regards,
Philippe