Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
Meta Box is not compatible with Kadence Block yet. So I think it's not possible to show subfield value in this plugin. But you can create a custom shortcode to do that, please follow this documentation https://docs.metabox.io/extensions/meta-box-group/#outputing-group-with-page-builders
March 3, 2022 at 11:24 AM in reply to: Image Custom Fields not Working on Kadence Dynamic Content #34252Long Nguyen
ModeratorHi,
The field
single_imagesaves the image ID in the database, it works like the featured image of the post. So if the Kadence block works with the default featured image, it can work with thesingle_imagefield.
https://docs.metabox.io/fields/single-image/#dataLong Nguyen
ModeratorHi,
The Elementor page builder does not support showing the cloneable field values. You can create a shortcode to show the value and add the shortcode to the builder. Refer to this documentation
https://docs.metabox.io/extensions/meta-box-group/#outputing-group-with-page-builders
https://codex.wordpress.org/Shortcode_APILong Nguyen
ModeratorHi,
Yes, the code can work in both frontend and backend. You can share the code that creates the fields and update the title on your site, I will help you to check the issue.
March 3, 2022 at 10:54 AM in reply to: How do I populate a relationship value based on the related post they select #34248Long Nguyen
ModeratorHi Yasmine,
What is the type of the field
universities? Is it apostfield or a relationship box?If you want to display the relationship box in the frontend submission form, please refer to this topic https://support.metabox.io/topic/mb-relationships-mb-frontend-submission/
Long Nguyen
ModeratorHi Cees,
The homepage news item field is a top field, so no need to access it via a group subfield. Your current code
{% set group = attribute( site, '175' ) %} {% set field = attribute( group, 'ws-dp--hp_newsitem' ) %} <b>Value: {{ field.ID }}</b>the correct one
{% set field = attribute( site.Website, 'ws-dp--hp_newsitem' ) %} <a href="{{ field.url }}">{{ field.title }}</a>just like the new settings page
Retrieve from the 'new settingspage' with algemeen / algemeen {% set field = attribute( site.algemeen, 'al--hompage_blogitem' ) %} <b>Value: {{ field.ID }} </b> {% set field = attribute( site.algemeen, 'al--hompage_blogitem' ) %} <b>{{ field.title }} </b>Long Nguyen
ModeratorHi,
The field
single_imagedoes not support an option to limit file/image size when uploading. You can follow this article to know how to use the code https://neliosoftware.com/blog/devtips-limit-image-size-in-media-library/
or this plugin https://wordpress.org/plugins/wp-image-size-limit/Long Nguyen
ModeratorHi,
Thanks for your feedback.
There is an issue with the trailing comma on line 55 file
meta-box/inc/fields/file-input.php, please update the PHP version to 7.3 or 7.4 to fix this issue.Let me know how it goes.
Long Nguyen
ModeratorHi Martin,
You can follow this article to know how to increase the PHP setting
max_input_vars, restart the server, and check this issue again. I've imported your field group to my local site but do not see any issue when setting the Location or Advanced Location Rules. Screen record
https://monosnap.com/file/AXpYsYtzvw30WKDMOK0wxsXNjms0kaLong Nguyen
ModeratorHi Cees,
Can you please share the code that creates the custom fields and settings page on your site?
Long Nguyen
ModeratorHi Nick,
I've researched around this case and realize that it's not possible to load JS, CSS files via Ajax or fetch API. In this case, you can pass the post ID to the URL and redirect the user to a new page to edit the post (like your idea).
Refer to this documentation https://docs.metabox.io/extensions/mb-frontend-submission/#dynamic-population
Long Nguyen
ModeratorHi,
Meta Box does not support downloading a zip file with all files attached like that. You can upload a zip file to allow the users to download it once.
Long Nguyen
ModeratorHi Nick,
Can you please share the code that creates the custom fields and meta box
dc-producton your site?Long Nguyen
ModeratorHi Erik,
Please use the property
post_contentto get the post content in the custom query.
<p>{{ post.post_content }}</p>Read more on the documentation https://docs.metabox.io/extensions/mb-views/#custom-query
Long Nguyen
ModeratorHi Nick,
You can use the filter hook
rwmb_profile_lost_password_fieldsto modify the field settings in the lost password form. Find more form filters in the file/mb-user-profile/src/DefaultFields.php -
AuthorPosts