Skip Navigation

[Resolved] Layout soens’t work

This thread is resolved. Here is a description of the problem and solution.

Problem:
Layout soens't work

Solution:
User added Custom Post Type, page, Layout all with the same slug, Plese make sure to use different slug names for all entities.

You can find the proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/layout-soenst-work/#post-1175915

Relevant Documentation:

This support ticket is created 6 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Franck 6 years ago.

Assisted by: Minesh.

Author
Posts
#1175870
Capture d’écran 2019-01-02 à 11.11.19.png

Hello,
I have created layout : test
i have created page : test (hidden link)

When i want to previsualize from layout that works (as you can see in picture), but when i want to see the page it is a blank page.

I don't understand why....i have tried to disable all extension, and even use Seventeen Tamplate.

Thanks for your help.

#1175915

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I checked on your install and I see you created Tests post type which has slug "test" then you created the page with the same slug "test" and you created the layout with the same slug "test".

I just rename the "test" page slug to "test-page" and "test" layout slug to "test-layout" and when I load the test page on frontend it just works fine:
=> hidden link

You should keep unique slug of all entities to ensure that there will be no slug conflicts.

#1175974

My issue is resolved now. Thank you!