Static pages wrong page object

Post Reply
Jr. Bludit
Posts: 1
Joined: Mon Mar 09, 2020 5:59 pm

Mon Mar 09, 2020 6:00 pm


I am currently working on a page with multiple static pages in a navbar. When I'm visiting the different pages by url, the page object is not updating to the corresponding one but stays on the latest static page (by added date). What am I doing wrong? Or is this a bug?

Thanks in advance!
User avatar
Site Admin
Posts: 738
Joined: Sat May 16, 2015 2:53 pm

Tue Mar 10, 2020 8:38 am

could be a bug, or maybe you are overwriting the variable $page, can you check if you are not using the variable $page in some part of the theme?

Post Reply