The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
Hello. I'm using pods_group_add() to change the 'More Fields' title in a metabox with a customized title.
Those metaboxes are shown in admin pages with pods_ui().
If there's more than one metabox in the page all titles defined in pods_group_add are ok, but if there's only one metabox the title is 'Fields' instead of my customized title.
Debugging a little bit I found the problem in /ui/admin/form.php ln540:
which is trying to change 'More Fields' with 'Fields' when no other field is being shown in addition to that unique metabox. To keep the customized title the if clause could be extended with:
Hello. I'm using
pods_group_add()
to change the 'More Fields' title in a metabox with a customized title. Those metaboxes are shown in admin pages withpods_ui()
.If there's more than one metabox in the page all titles defined in
pods_group_add
are ok, but if there's only one metabox the title is 'Fields' instead of my customized title.Debugging a little bit I found the problem in /ui/admin/form.php ln540:
which is trying to change 'More Fields' with 'Fields' when no other field is being shown in addition to that unique metabox. To keep the customized title the
if
clause could be extended with:I'll try to send a pull request for this.
Regards,
David