We changed our privacy policy. Read more.

New answers tagged

0

If you only need your custom fields, you can could use craft.app.fields.getLayoutTabsById() to grab the relevant tabs then do something like: {% set section = craft.app.sections.getSectionByHandle('handle') %} {% set fieldLayoutId = section.getEntryTypes[0].getFieldLayout().id %} {% set fieldLayoutTabs = craft.app.fields.getLayoutTabsById(fieldLayoutId) %} {...


Top 50 recent answers are included