Static pages wrong page object

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

Mon Mar 09, 2020 6:00 pm

Hi,

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
diego
Site Admin
Posts: 738
Joined: Sat May 16, 2015 2:53 pm
Contact:

Tue Mar 10, 2020 8:38 am

Hi,
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?

Regards
Post Reply