Layout assignmet conditions not working any more, but only for two pages

Hi there,

I have assigned a couple of different layouts to different pages and their children. Everything’s working fine, except for two pages and their children, they just get the default Integrity layout applied. I have tried changing the conditions, making them narrower and broader, but to no avail.
It would be great if you could take a look.

Thank you!

Hi @fucx,

After entering the credentials it asked for the Authentication code which has been sent to the Email ID associated with the account. I would suggest you temporarily disable this authentication for further investigation. If that is not possible, please copy your live site to a staging server so we could troubleshoot freely without breaking your live site.
And give us access to the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Thank you tristup, I have disabled the 2FA system for now. You should now be able to log in successfully.

Hi @fucx,

I have checked both the page and layout assigned to it and found the issue you described here. I went ahead and saved the zeroBS layout as Template and created a completely new Layout named new zerobs and load the Template by clicking into the Use Template > My Templates and assigned it to the zeroBS page which starts working. It might be something that is blocking the existing two layouts to be assigned to the pages. I would suggest you follow the way I created the new layout and assign it to other pages where you are getting the same problem.

It might be an ongoing issue which has been already reported to our issue tracker, I will add a note to the tracker with your report, so our development team can see there are multiple reports of the issue.

Hope it helps.
Thanks

1 Like

Thank you very much, @tristup, that worked perfectly for the second page that didn’t apply its layout correctly. I really appreciate your help!

You are most welcome, @fucx. We are glad @Tristup was able to help you out.

1 Like

For some reason, the error keeps coming back and affect more and more sites overnight, it seems. Maybe there’s a plugin conflict somewhere…

Saving the Permalink Structure fixed some assignments, strangely. Maybe this problem has something to do with Yoast SEO, which is doing some redirection and permalink stuff…

Hey @fucx,

We’re glad that you’re able to figure it out! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

Hi @marc_a, thank you for your reply. The old issue still persists and seems to be worsening over time, which is why I replied to the existing thread.

Hi @fucx,

It seems due to some reason the issue is coming back again and again. I would suggest you please copy your live site to a staging server so we could troubleshoot freely without breaking your live site.
And give us access to the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

Thank you @tristup, I have attached the necessary information below.

Hello @fucx,

Please check out this screenshots:

If you take notice, though these pages were a child page of two different page, they share the same slug and this has caused a slug conflict. All pages (parent or child pages) must have a different slug to avoid any permalink conflict and other issues.

Hope this helps.

Hello @ruenel and thank you for your reply.
I’m not sure I follow, since even though the pages’ slugs might be identical, their parent pages are different, which makes them have a different URL. If WordPress detects a slug being used more than once, it automatically adds a number to the end of it, like is explained in the article you’ve linked. Also, said article mentions nothing about the need for slugs of child pages of different parents having to be different, if I read it correctly.
I’m still confused as to why some layout assignments seem to fail after some time, though…

Hey @fucx,

Your staging site redirects to https://wpstagecoach.com/. And, your live site is no longer an admin role so we couldn’t check. Please provide instructions on how to access both sites.

Thanks.