Scope and Limit of loop element changes

Hi,

I use the CityHall2 template and now I have a question about the behavior of loop elements. I have created a template for my mega menu and have built a loop element into it, which should display the latest blog post of the corresponding menu category. When I now view the menu on my start page, I get the latest post as desired. However, if I open the menu on a subpage, the loop element of the menu takes over the properties of the loop element of the subpage (number of posts shown, selected category, etc.). The subpage is the archive page of the CityHall2 template. 


What is the reason for this? Why does the subpage's loop overwrite the properties of the menu's loop?


Many thanks for your help! 😊


Comments

Sign In or Register to comment.