Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
I import your field group to my demo site, add the prefix "cf_" to the field group and it is saved as well. See the screenshot https://monosnap.com/file/PlQUVTMeVeSTG6pI9bKOr0LewWCoKZ
You can try increase the PHP setting
max_input_vars(around 100-300k) and see if it helps. Read more about the PHP setting in the documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/Peter
ModeratorHello Zim,
Meta Box doesn't support an option to style the form fields. You need to create your own custom CSS code to style the form fields. If you want to enqueue your style file, please follow the documentation https://docs.metabox.io/actions/rwmb-enqueue-scripts/
And does it matter or not for example if I use Bricks Builder.I'm not sure if the builder has its own style that affects the HTML input tag of the field. You can contact Bricks support to get more information.
Peter
ModeratorHello,
If you set the
teenyto true, you won't see the Toggle toolbar, screenshot https://imgur.com/ERq5GiUIf it doesn't work on your site, please share some screenshots of the issue.
April 8, 2024 at 9:09 PM in reply to: Improve location setting: place field group between post title & editor #45165Peter
ModeratorHello,
Meta Box supports the context to display the custom fields below the post title and above the editor. It only works when you use the Classic Editor, not Gutenberg (Block Editor).
In the builder, you can use the option Position https://imgur.com/a/0iFmk7o
With the code, you can use thecontextsetting. Following the documentation https://docs.metabox.io/creating-fields-with-code/Peter
ModeratorHello Yasmine,
Is the field
partnership_summaryorselect_partnershown/hidden by another conditional logic? Please ensure they are visible on the same page/tab with the fieldcontrol_partner_visibilityand not affected by another conditional logic then check the issue again.Peter
ModeratorHello,
It isn't possible to use one frontend shortcode to edit the current post and create new one. You can try to use two frontend shortcodes:
- On the post template: use the attributepost_id="current"to edit the current post.
- On the separate page: remove that attribute to submit a new post.April 5, 2024 at 4:50 PM in reply to: How to target a specific index of cloned fields with Metabox Group #45151Peter
ModeratorHello,
What is the action/filter that you hook the callback function
output_to_cloneto? If you want to update the group field value, you can use the function update_post_meta()
Refer to this topic https://support.metabox.io/topic/add-cloneable-group-using-update_post_meta-whilst-preserving-existing-data/If you cannot complete the task, we offer a customization service with an extra fee. Please submit this form with your details, our development team will get back to you soon.
https://metabox.io/contact/April 4, 2024 at 10:19 PM in reply to: ✅Fatal error: Uncaught TypeError: Unsupported operand types: string & int #45145Peter
ModeratorHello,
According to the error message
Fatal error: Uncaught TypeError: Unsupported operand types: string & int in /home/xxxxx/public_html/wp-includes/class-wp-rewrite.php:1036this is the code in the file class-wp-rewrite.php line 1036
if ( EP_PAGES & $ep_mask || EP_PERMALINK & $ep_mask ) {it relates to the post type setting
ep_maskthat is not supported by MB CPT. Please try to delete the current CPT and re-create it manually with the same slug and settings and check the issue again.Following the documentation https://developer.wordpress.org/reference/functions/register_post_type/
Peter
ModeratorHello,
The code to display the cloneable map is similar to the subfield map in the group. Here is an example:
$maps = get_post_meta( get_queried_object_id(), 'osm_field_id', true ); $args = [ 'width' => '640px', 'height' => '480px', ]; foreach ( $maps as $map ) { echo RWMB_OSM_Field::render_map( $map, $args ); }Peter
ModeratorHello Saul,
Currently, there isn't a filter hook to modify the attribute of the frontend shortcode. It could be a nice feature request. I will inform the development team to consider supporting a filter hook to modify the frontend shortcode attributes.
Peter
ModeratorHello,
Please check two points:
1. The field setting
save_fieldis not set tofalse.2. Increase the PHP setting
max_input_vars, please follow the documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/If it doesn't help, please share your plugin here and let me know where to check the field settings.
Peter
ModeratorCan you please share a screen record of the issue on your end? You can upload the video to Google Drive and share the URL here.
Peter
ModeratorIn the builder, you can use the setting Max items in the field settings tab, screenshot https://imgur.com/isiuiHQ
If you use the code, it is the setting
max_clone. Please follow the documentation
https://docs.metabox.io/extensions/mb-relationships/#using-codePeter
ModeratorHello,
I add a field
image_uploadto the field group, enable Required and see the validation works correctly when submitting the post without adding an image.Please try on a clean installation of WordPress and check this issue again.
Peter
ModeratorHello,
It's the HTML code, not PHP code and not an extension for the editor. You can type it directly from the keyboard.
<div class="abc-def">If you are not familiar with coding, I recommend you take some basic courses to understand and use Meta Box extensions https://www.w3schools.com/
Or hire an expert developer to help you do your project.
-
AuthorPosts