Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
For the compatibility with WS Forms, please reach to them if you have any issues with installation, configuration, compatibility, or usage. Refer to our support policy https://support.metabox.io/topic/support-policy/
December 1, 2021 at 10:49 PM in reply to: ✅Warning: call_user_func_array() expects parameter 1 #32329Long Nguyen
ModeratorHi,
It looks like you have an older version of the MB extension like MB Group. Please try to update them all to the latest version and re-check this issue.
Refer to this topic https://wordpress.org/support/topic/call_user_func_array-9/
Long Nguyen
ModeratorHi,
Please follow this topic to show the term meta https://support.metabox.io/topic/taxonomy-image-on-custom-post-type/
and read more on the documentation https://docs.metabox.io/extensions/mb-term-meta/
Long Nguyen
ModeratorHi,
The custom settings
tax_queryof a field is to filter the value and show it on the select field for the user to choose. It will not work in your case.I think you can use the Meta Box action hook
rwmb_{$field_id}_after_save_fieldthen set the term for the image ID (post type attachment). Refer to these documentations
https://docs.metabox.io/actions/#rwmb_after_save_field
https://developer.wordpress.org/reference/functions/wp_set_post_terms/Long Nguyen
ModeratorHi Andrew,
If you use the field
image_advanced, the helper function will return an array of images. Then you will need to use a loop to iterate through elements. Please read more on the documentation https://docs.metabox.io/fields/image-advanced/#template-usageLong Nguyen
ModeratorHi,
If you use the Builder to create the field, you can click on the tab Advanced > Custom settings > add the key
sanitize_callbackand valuenonethen save changes.
Screenshot https://imgur.com/hyIy5QpLong Nguyen
ModeratorHi,
I see there are two variable placeholders in your code
%s<input id="' . $targetName .'-' . $fieldType . '" type="text" name="%s" value="%s">If you do not need to use the field ID, please remove this variable from your code.
return sprintf( $html = '<input id="' . $targetName .'-' . $fieldType . '" type="text" name="%s" value="%s"> ... ', $field['field_name'], $meta );Long Nguyen
ModeratorThanks for your feedback.
Have you tried to use MB Views to show the field value and relationships on the frontend? It might be easier to understand how it works. But a little knowledge of code would be better to control what will show up.
https://docs.metabox.io/extensions/mb-views/Long Nguyen
ModeratorHi,
Please pass the second parameter to the helper function, if you do not need to pass any value, just leave it blank.
$values = rwmb_meta( 'music', '', $postal );Let me know how it goes.
Long Nguyen
ModeratorHi,
If you've created a custom table before, please follow this documentation to use the public API to save the field value to the custom table.
https://docs.metabox.io/extensions/mb-custom-table/#apiLong Nguyen
ModeratorHi,
In case of using Oxygen Builder, please reach to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://support.metabox.io/topic/support-policy/
Long Nguyen
ModeratorHi Cees,
I think it's not hard to do. You can find the code that displays the site title in your code (or theme code) and replace it with the helper function
rwmb_meta(). Here is an example https://stackoverflow.com/questions/18686523/display-wordpress-site-titleLong Nguyen
ModeratorHi,
You can create a
taxonomyortaxonomy_advancedin a field group (meta box) and assign the meta box to the post typeAttachment. Then when editing an image uploaded, you can select and assign the term of the taxonomyhappyfiles_categoryto that image. Screenshot https://share.getcloudapp.com/d5u65Nm8Please read more on the documentation
https://docs.metabox.io/fields/taxonomy/Long Nguyen
ModeratorHi Peter,
The HTML tag
<iframe>is not an allowed tag when you add to the WYSIWYG field content. You can bypass the sanitization to add any HTML tags to this field content.Refer to this documentation https://docs.metabox.io/sanitization/
November 30, 2021 at 2:30 PM in reply to: ✅Creating a custom field with value from other custom fields #32279Long Nguyen
ModeratorHi,
Did you add the frontend submission shortcode on the single post? Following the code, I think you are trying to update the field value
fg_taxo_object_artist_namesof the submitted post by the term meta of the current post which shows the frontend submission form. -
AuthorPosts