Navigation überspringen

[Gelöst] Layout soens’t work

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren, 1 Monat. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Franck vor 6 Jahren, 1 Monat.

Assistiert von: Minesh.

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

Hello,
I have created layout : test
i have created page : test (versteckter 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

Sprachen: Englisch (English )

Zeitzone: 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:
=> versteckter 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!