Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
I think using the filter to set the options of the select field by coding instead of using the builder, might help you in this case.
add_filter( 'rwmb_normalize_field', function( $field ) { //check your specific field before using this code $field['options'] = callback_function(); return $field; } );February 20, 2023 at 7:24 PM in reply to: MB slows down site and editing pages + doesn't seem to save in custom table #40614Peter
ModeratorLet me know if you have any questions.
February 20, 2023 at 7:23 PM in reply to: Moved to custom table, data is in DB, but not on edit post #40613Peter
ModeratorHello,
Please access your database, set the column data type to
TEXTand check this issue again. If it does not help, please share your site credentials via this contact form https://metabox.io/contact/
I will inform our development team to check the issue on your site.Peter
ModeratorHello there,
If you are using the builder, you can click on the option "Show as an admin column" when creating the custom field to display the admin column for that field. See my screenshot https://monosnap.com/file/uZqvlIiIanjm2vGg5K8GW42dEpsPjH
And read more on the documentation https://docs.metabox.io/extensions/mb-admin-columns/
February 19, 2023 at 12:07 AM in reply to: MB Relationships mangles relationship ID when importing JSON #40600Peter
ModeratorHello Eric,
Thanks for your feedback.
I see that issue. The relationship ID is generated automatically from the relationship title (post title) so it uses the hyphen as the default separator. To fix this issue temporarily, you can just add the same title as ID
artist_artand then export and import it.
I've escalated this issue to the development team to fix it in the next update.February 18, 2023 at 11:54 PM in reply to: ✅Core Extensions Bundle Invoice - Invoice Doesn't Show Correct Date #40599Peter
ModeratorHello there,
If you have any questions related to your account or payment/invoice, please contact us here https://metabox.io/contact/. Our support team will help you to check this.
Thanks.
Peter
ModeratorHello,
I think the issue was resolved a long time ago, maybe related to https://support.metabox.io/topic/select-choices-callback-cache/
Anyway, I test to add your code to my local site to update a field group title after saving a CPT post and it works correctly.
add_action('save_post_my-job', 'fr_update_retreats_after_default_tabs', 10); function fr_update_retreats_after_default_tabs() { wp_update_post( array( 'ID' => 3401, 'post_title' => 'This is the post title.', ) ); }And you can also use the filter hook
rwmb_normalize_fieldto modify the field settings. Please read more on the documentation https://docs.metabox.io/filters/rwmb-normalize-field/Peter
ModeratorHello there,
I think it is possible. But this is an advanced case and you need to create some custom code to check the customer info (data, name ...) to get the field value and populate it to the new order.
If you don't know how to do that, please contact us here https://metabox.io/contact/
Our development team will help you with a small fee.Peter
ModeratorHello Olivier,
Yes, it is possible to upgrade the license. Please contact us here https://metabox.io/contact/
Our support team will help you to do that.February 18, 2023 at 10:25 PM in reply to: MB slows down site and editing pages + doesn't seem to save in custom table #40595Peter
ModeratorHello,
I do not see that issue on my end. Deactivating all plugins and leaving Meta Box, MB AIO activated, I see the loading time is good. Please check this screen record https://monosnap.com/file/F1rfxYo7SqXQ9HTRdlNnPsjEzMeMNm
Peter
ModeratorThanks for sharing your solution 🙂
Peter
ModeratorHello Macky,
Which data do you need to update in the field group? A field group actually is a post that saves field and meta box settings. But it might be complicated if you want to update something in a field group.
I think your code can trigger the function wp_update_post and work correctly.Peter
ModeratorHello,
It looks like a WordPress basic question. You can edit a term and get the term ID in the URL, parameter tag_ID. For example, the term ID in this case is 2.
wp-admin/term.php?taxonomy=category&tag_ID=2&post_type=postAlso, please let me know the custom field here is assigned to what object. Term or post?
Peter
ModeratorHello Cees,
Please add the attribute link="false" to the relationship shortcode to remove links to items.
[mb_relationships id="post-to-page" direction="from" mode="custom" separator="-" link="false"]Peter
ModeratorHello Cees,
Please change the mode to
customto use the custom separator. I will update the documentation then. Thanks.[mb_relationships id="event-to-musici" direction="from" mode="custom" separator="-"] -
AuthorPosts