Page 1 of 1

Static pages wrong page object

Posted: Mon Mar 09, 2020 6:00 pm
by hschmidt
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!

Re: Static pages wrong page object

Posted: Tue Mar 10, 2020 8:38 am
by diego
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