Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Mauro,
If you want to translate the plugin's text to the Italian language, I recommend translating via the WordPress translation system https://translate.wordpress.org/projects/wp-plugins/meta-box/. It would help more users get the translated text without using other translation plugins.
Thank you.
Long Nguyen
ModeratorHi,
Please refer to this topic to translate the error text https://support.metabox.io/topic/translation-of-form-messages/
Let me know if it helped.
Long Nguyen
ModeratorHi,
The field
image_advancedsupports showingsrcsetvalue. You can use it to assign to the attribute srcset of the image tag<img>{% for item in post.image_advanced %} <img src="{{ item.full.url }}" width="{{ item.full.width }}" height="{{ item.full.height }}" alt="{{ item.full.alt }}" srcset="{{ item.full.srcset }}"> {% endfor %}Get more details on the documentation https://docs.metabox.io/fields/image-advanced/#template-usage
July 4, 2021 at 8:49 AM in reply to: Use Image Upload field to set the Featured Image of the post #29275Long Nguyen
ModeratorHi Concan,
You can use the field ID
_thumbnail_idto set the image uploaded as a featured image. Get more details on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#reorder-post-fieldsLong Nguyen
ModeratorHi,
Thank you for your feedback.
The subfield in a group will have the ID
groupID_subfieldIDand the label only shows for thesubfieldID, it looks incorrectly. I will inform the development team to cover this case.Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update.
You can add the attributes to the shortcode to show the button text and icon
[mbfp-button class="custom_class" add="Add to favorite" added="Added to favorite" show_count="true" icon="heart" show_icon="true"]Get more details on the documentation https://docs.metabox.io/mb-favorite-posts/#shortcodes
Long Nguyen
ModeratorHi,
To get the connected posts in PHP code, please follow the documentation https://docs.metabox.io/extensions/mb-relationships/#getting-connected-items
Long Nguyen
ModeratorHi,
We can understand the setting
sizelike the width of the input box. To limit the characters input, you can use the attributemaxlength. Please get more details on the documentation https://docs.metabox.io/custom-attributes/Long Nguyen
ModeratorHi Peter,
Can you please share your site URL? I will help you to check the issue.
Long Nguyen
ModeratorHi Trejka,
I also experience this issue with WooCommerce when using the default theme Twenty TwentyOne. You can try to contact Woo support to get more info.
Long Nguyen
ModeratorHi,
Thank you for your additional information.
Even deactivate the plugin Meta Box, the
<p>tags are not inserted into your paragraphs when switching to the tab Text. Screenshot https://share.getcloudapp.com/z8uOGylyYou can manually add the
<p>or<div>tags to separate paragraphs.Long Nguyen
ModeratorHi,
It is not possible for now. I think you can use the setting
classto add a custom class for the field group (meta box) andbefore,afterto wrap a field in HTML tags then style them by CSS code.
https://docs.metabox.io/creating-meta-boxes/#field-group-settings
https://docs.metabox.io/field-settings/#advancedOr use the field appearance filters https://docs.metabox.io/filters/#field-appearance-filters
Long Nguyen
ModeratorHi Nadine,
Please follow the Debugging Information step here https://support.metabox.io/topic/how-to-create-a-new-topic/ and let me know how it goes.
Long Nguyen
ModeratorHi Cees,
Here is the code that you shared
global $post; $field_id = "hoogtepunten"; $post_id = rwmb_meta( $field_id ); if ( $post_id ) { echo '<h2 class="related-content-title">Bezienswaardigheden langs de route</h2>'; echo '<div class="related-content">'; foreach( $post_id as $post) { setup_postdata( $post ); ?> .... some data ....here it goes wrong <?php } echo '</div>'; wp_reset_postdata(); }and I see the heading, post related in one code block display as well https://share.getcloudapp.com/lluN7Ogx
What is the code block that you show the heading "Horeca langs de route"?
You also said:
This code $arrayLength = count($post_id) show 1 when there is no related post.
I have edit the and save and got a error-message that I have to fill al the fields (required) but that isn't required.Can you please share some screenshots of the whole scenario?
Long Nguyen
ModeratorHi Yumiko,
The extension outputs the default fields’ HTML with CSS comes from Meta Box plugin. The style is basic and works in most cases. However, to make it match perfectly with your theme’s style, you need to do some work with CSS.
You can also add some code before and after the form by using the form's hook
rwmb_profile_before_form,rwmb_profile_after_form
https://docs.metabox.io/extensions/mb-user-profile/#form-actions -
AuthorPosts