Stacks Duplicating
Permalink
I am creating a custom theme, as is everyone else.
I created some specific global areas with:
That seemed to work fine, except the first thing I noticed is that my logo wouldn't appear on certain pages, like /login, unless I was specifically signed in. So upon further research I would be signing in and out quite frequently testing it, I noticed that the regular pages starting to not show the logo.
After inspecting the "Stacks" area I noticed that the GlobalAreas were multiplying themselves, now considering I can't create a GlobalArea it must be within my code, however that particular part of the problem hadn't changed. I have read and re-read the code numerous times and am unable to find a solution.
Can anyone please help me with this problem?
I created some specific global areas with:
<?php $logo = new GlobalArea('Logo'); $logo->display(); ?>
That seemed to work fine, except the first thing I noticed is that my logo wouldn't appear on certain pages, like /login, unless I was specifically signed in. So upon further research I would be signing in and out quite frequently testing it, I noticed that the regular pages starting to not show the logo.
After inspecting the "Stacks" area I noticed that the GlobalAreas were multiplying themselves, now considering I can't create a GlobalArea it must be within my code, however that particular part of the problem hadn't changed. I have read and re-read the code numerous times and am unable to find a solution.
Can anyone please help me with this problem?