Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Kirb,
You can use some WordPress functions to get the current post (page) title which has the frontend form.
https://developer.wordpress.org/reference/functions/get_queried_object_id/
https://developer.wordpress.org/reference/functions/get_the_title/September 16, 2022 at 11:44 PM in reply to: Uncaught Error: [tippy]: `position` is not a valid option #38335Long Nguyen
ModeratorHi,
Thanks for your feedback.
Fixing compatibility with another plugin is beyond our scope of support. But I will inform the development team to update the Tippy library to the latest version.
September 16, 2022 at 11:38 PM in reply to: ✅WPML translation of Meta Box Select and Checkbox field #38334Long Nguyen
ModeratorHi,
To translate the field label, you have to register the custom fields with code to add the textdomain for the string. Please read more on these topics
https://support.metabox.io/topic/multilanguage-support-for-custom-post-type-labels/
https://support.metabox.io/topic/unable-to-translate-cpt/and this documentation https://developer.wordpress.org/themes/functionality/internationalization/
Long Nguyen
ModeratorHi,
Please export the field group to a JSON file and share it here, I will import it to my demo site and see if the issue still happens. Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import
Long Nguyen
ModeratorHi,
It's the option "Hierarchical" when creating the custom taxonomy to show the taxonomy box like Category. Screenshot https://monosnap.com/file/OV88rjKDbQxYEVKMHO1BUE8pMVajIy
Long Nguyen
ModeratorHi,
It might be a caching issue. Can you please clear all caches, logout/in your user and recheck this issue? The select skin box works as well on my demo site.
Long Nguyen
ModeratorHi,
If the code does not work on your site, you can also use the action hook
rwmb_after_save_fieldto update a field value after saving the post. Please read more on the documentation https://docs.metabox.io/actions/rwmb-after-save-field/Long Nguyen
ModeratorHi,
You can use this code in the View template to display the first image of the list images without using the loop.
{% set images = post.image_advanced %} {% set item = mb.current( images ) %} <img src="{{ item.large.url }}" width="{{ item.large.width }}" height="{{ item.large.height }}" alt="{{ item.large.alt }}">Refer to the PHP documentation https://www.php.net/manual/en/function.current.php
and ours https://docs.metabox.io/extensions/mb-views/#running-php-functionsLong Nguyen
ModeratorHi Ulli,
Thanks for reaching out.
You should install and activate at least one premium extension (plugin) on your site and activate the license key. In this case, I recommend activating the plugin Meta Box AIO to use all premium extensions. Please read more on the documentation https://docs.metabox.io/extensions/meta-box-aio/
https://docs.metabox.io/updates/Long Nguyen
ModeratorHi Duncan,
If you enable the
sortoption for the admin column, you can click on the sort button (next to the field title) to sort posts in the table list. Please check this screenshot https://monosnap.com/file/dHM2lfQrW5GR1aYiAJu3r1l0gJiFl0Long Nguyen
ModeratorHi,
Sorry, I do not understand the issue clearly. Can you please share some screenshots of the issue? And the code that creates the custom fields on your site.
September 14, 2022 at 12:51 PM in reply to: ✅Do field groups need to be translated too? (WPML) #38305Long Nguyen
ModeratorHi,
To my knowledge, we shouldn't translate the field group (meta box) because the field group ID and custom field ID will be different in other languages. So if you use the code to get the field value
rwmb_meta( 'field_id' )in the template, it will not return the correct value.Long Nguyen
ModeratorHi,
1, 2, 3. I've not tested fully WPML and MB Views, Field Group (meta box) but I think it does not work like post, or CPT to display content on the front end. Currently, there isn't an integration between MB extensions and WPML. It's very hard to investigate the issue in a few days from our end only. You can also need some help from WPML support to translate the settings page (like theme options).
4. Yes, it works like a text field.
5. I think the issue relates to the default language of the site when setting up with WPML.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
The
datetimesubfield in a group will be saved value in the standard format (raw) to the database. It does not look working with the settingsave_format. I will inform the development team to consider supporting this case in future updates.Long Nguyen
ModeratorHi,
This code is correct to get the custom field value with the WordPress function
get_post_meta( $post->ID, 'filledexpired', true );You can change the variable post ID to a specific post ID like
get_post_meta( 123, 'filledexpired', true );and recheck this issue.Read more on the documentation https://developer.wordpress.org/reference/functions/get_post_meta/
-
AuthorPosts