Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
I think it is possible to do with Meta Box. The repeater feature of ACF is the cloneable setting which is supported for all field types of Meta Box. Refer to the documentation https://docs.metabox.io/cloning-fields/
Peter
ModeratorHello,
For the option group, it isn't possible. But you can try to set the sub-choices like this
function my_custom_callback() { return [ [ 'value' => 'monkeys', 'label' => 'Monkeys', ], [ 'value' => 'king_kong', 'label' => 'King Kong', 'parent' => 'monkeys', ], [ 'value' => 'curious_george', 'label' => 'Curious George', 'parent' => 'monkeys', ], [ 'value' => 'donkeys', 'label' => 'Donkeys', ], [ 'value' => 'eeyore', 'label' => 'Eeyore', 'parent' => 'donkeys', ], [ 'value' => 'guss', 'label' => 'Gus', 'parent' => 'donkeys', ], ]; }and set the setting
flattentofalse. Follow the documentation https://docs.metabox.io/fields/select/#settingsPeter
ModeratorHello Lee,
The field
custom_htmldoesn't have an input field so no need to bypass the sanitization. I think the issue is the Bricks template is not designed to work in the admin area so the CSS code won't load.You can create a custom settings page with code, output the Bricks template and recheck this issue. Follow the documentation https://developer.wordpress.org/plugins/settings/custom-settings-page/
Or contact Bricks support to get more information.Peter
ModeratorHello,
I don't understand the question clearly. Can you please give me more details? Do you want to manage other CPTs by Meta Box CPT plugin?
September 16, 2023 at 3:21 PM in reply to: Users Losing Access to Post Submission with Admin Interference #43262Peter
ModeratorHello,
Can you please confirm that only Meta Box, MB plugins and a default WP theme are activated without any custom code on your site and the issue occurs? If yes, please share your site credentials via this contact form https://metabox.io/contact/
I will take a look.September 16, 2023 at 11:47 AM in reply to: mb_get_block_field() in preview when storage = post_meta #43261Peter
ModeratorHello,
The function
mb_get_block_field()only gets the field value when the block data is saved as attributes (default). If you save the data as post meta, you can use the helper functionrwmb_meta(), for example:WYSIWYG field: {{ mb.rwmb_meta( 'wysiwyg_field_id', '', post_id ) }}September 16, 2023 at 11:22 AM in reply to: Overwriting Yoast Schema with Relationship Content #43260Peter
ModeratorHello Nick,
If you can use the PHP code to generate custom schema data for Yoast, you can also follow the documentation to get the related post and output the related title in your code.
https://docs.metabox.io/extensions/mb-relationships/#getting-connected-itemsPeter
ModeratorHello Matthew,
Sorry for the late reply. Let me answer your questions.
1. Yes, "hide from frontend" does not hide the field by JS code like MB Conditional Logic. It excludes the field from loading like MB Include Exclude does. Please read more in the documentation
https://docs.metabox.io/extensions/meta-box-include-exclude/
https://docs.metabox.io/extensions/meta-box-conditional-logic/2, 3. The custom table created automatically in the builder uses data type TEXT for all columns to be compatible with most fields. Can you please share some screenshots of the field
category_nameand field group settings? Where do you add the shortcode on your site?Peter
ModeratorHello James,
Do you mean to display each choice in one row? There isn't an option to display that.
Peter
ModeratorHello,
WooCommerce has its own function to get attributes and it is complicated to do that in View (Twig code). You can create a custom function to get attributes with PHP code, return the value and call it in View for easier.
Refer to the documentation https://docs.metabox.io/extensions/mb-views/#running-php-functionsPeter
ModeratorHello Chris,
The meta key in the database is the group field ID and meta value is a serialized array and I think it won't work with SEO Press in this case. You can contact their support if they support extracting a subfield value in a serialized array like the theme options.
Or you should use the top field to output value as a regular custom field.Peter
ModeratorHello,
Yes, it is possible. You can define a custom function in the file functions.php before adding the callback function in the MB builder. The choice should have the format:
value => Label. For example:function my_custom_callback() { return [ 'branda' => 'BrandA', 'model1' => 'Model1', 'model2' => 'Model2' ]; }September 15, 2023 at 10:52 PM in reply to: map & image not display if inside Group SUBFIELDS #43254Peter
ModeratorHello,
To display a map subfield in a group with the custom style, you need to use the PHP code, the Twig code in the View is not supported in this case. Refer to this topic https://support.metabox.io/topic/using-a-open-street-map-with-an-address-text-field-inside-a-group/
Peter
ModeratorHello,
Supporting a customization code for your specific needs is beyond our scope of support, please read more here https://support.metabox.io/topic/support-policy/
I think you can move the code that updates the group field value outside of the loop and recheck this issue. If you are not able to complete the task, please contact us here https://metabox.io/contact/
We offer a customization service with an extra fee.September 13, 2023 at 9:19 PM in reply to: Users Losing Access to Post Submission with Admin Interference #43243Peter
ModeratorHello,
I tested this issue again on my demo site but not see that. You can try to deactivate all plugins except Meta Box, MB extensions plugin, switch to a standard theme of WordPress and recheck this.
-
AuthorPosts