Skip Navigation

[Resolved] Where to use this Field Group – 'Default' page template never stays ticked

This support ticket is created 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 3 years ago.

Assisted by: Nigel.

Author
Posts
#2213755

BD
Screen Shot 2021-11-05 at 11.25.30.png

This has been an issue for as long as I can remember but I haven't got round to reporting it until now. I am trying to assign a custom field group to the 'default' page template only. However, if I check the 'Default' checkbox under Edit Post Field Group / Templates and then save, after saving it does not keep the box ticked and says "By default this group of fields will appear when editing all content." The group then appears on every single page, post and CPT.

Please could you let me know how to keep this box ticked? All other checkboxes retain their ticked status. Do you get a different result on any other website? This is not specific to the site I'm working on - it has been the case for every website and theme I've tried it on in the past.

Thanks

#2214131

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I just did some tests locally, and it looks like this isn't working correctly, certainly the chosen template isn't remaining checked.

I suspect it could be related to changes we made when introducing conditional template assignment, but in any case I'll need to do some further testing.

In the meantime, can you clarify what you are aiming to do when using the default template setting?

My undersstanding is that—if working—that would assign the field group to any posts that don't have a Content Template assigned.

#2214133

BD

Thanks Nigel - I'm relieved it's not just me! You are correct - any pages that don't have a custom template assigned (and therefore are saved with the standard 'Default template' option) should have this custom field group appear in the page editor. At the moment the best I can do is select 'Pages' in the 'Edit Post Field Group' settings - but this is far from ideal, as the field group is irrelevant to all other templates. I'll stand by, Nick

#2215627

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Nick

I went back a long way in plugin versions to see if I could identify where this broke (expecting it to be when we introduced conditional templating in Blocks 1.5), but couldn't find any versions where it worked.

It seems like it never worked, or—at least—it has been broken for a very long time.

I've gone ahead and escalated this to the developers, but I should say I imagine it may be some time before a developer is assigned to this given that it has been broken for so long and you are the first person I'm aware of to report it.

Please subscribe to the erratum comments for further news: https://toolset.com/errata/where-to-show-custom-field-group-setting-of-default-template-does-not-work/