Issue with Plural Name When Creating Post Types in Meta Box IO
Support › Meta Box AIO › Issue with Plural Name When Creating Post Types in Meta Box IO
- This topic has 8 replies, 2 voices, and was last updated 1 hour, 17 minutes ago by
Peter.
-
AuthorPosts
-
August 3, 2025 at 9:15 PM #48636
Infolu Official
ParticipantI’m using the latest version of Meta Box IO and noticed an unexpected behavior when creating custom post types:
The Plural Name is not displayed correctly — instead, a “%” character appears where the plural label should be.It seems there might be an issue with how the labels are being generated or rendered, possibly related to string interpolation.
It would be great if this behavior could be reviewed, as it affects the clarity and usability of the WordPress admin interface.
Thank you!
August 4, 2025 at 9:38 PM #48642Peter
ModeratorHello,
Can you please share a screenshot of the Plural name when editing the CPT from Meta Box > Post Types > Edit the post type?
August 5, 2025 at 8:10 AM #48644Infolu Official
ParticipantHello,
Thank you for your response and clarification.
I understand that it's currently expected behavior for Meta Box AIO to require at least one extension to remain active. However, I’d like to share some feedback:
I use Meta Box via Composer to have more control over what's loaded in my project. My goal is to use only the native field types, without the additional extensions, ensuring a lighter setup and the flexibility to enable or disable features as needed.
In this case, it doesn’t make sense to be forced to keep at least one extension active if I only want to use the custom fields. It would be great to have more flexibility and be able to deactivate all extensions without having to disable the entire plugin.
Thank you for considering this suggestion.
August 5, 2025 at 8:16 AM #48646Infolu Official
ParticipantPlease disregard my previous comment, I posted it in the wrong thread. Attached is the requested image.
August 5, 2025 at 11:03 PM #48648Peter
ModeratorHello,
Ok, now please check the
All items
label if there are%
characters. Please check this screenshot https://postimg.cc/F1PdXd4NIf there aren't any % characters, do you use a translation plugin and translate the labels?
August 6, 2025 at 6:14 AM #48650Infolu Official
ParticipantThere is the "%" I am not using any wordpress translation plugin + metabox io only
August 6, 2025 at 8:44 PM #48657Peter
ModeratorHello,
The tag
%name
or%nome%
is not supported in the label inputs. Please use the literal string likeAll CPT name
and save changes.August 7, 2025 at 9:15 AM #48667Infolu Official
ParticipantHi Peter, thanks for the information!
After reading your comment, I took a closer look and noticed something unusual. Since I hadn't manually configured the label fields, I decided to run a test.I discovered that when I create a post type with WordPress set to English, everything works fine — the labels are generated correctly. However, when I switch to another language and create a post type, the system ends up using a % symbol in place of the plural label.
Note that I only register the fields on the General tab.
August 7, 2025 at 11:08 PM #48672Peter
ModeratorHello,
You are correct. The translation of some labels for the pt-BR language is available in the plugin Meta Box AIO. Please remove the folder
wp-content/plugins/meta-box-aio/languages/mb-custom-post-type
to remove the tag%nome%
in the label when creating a new CPT.Let me know how it goes.
-
AuthorPosts
- You must be logged in to reply to this topic.