Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
All extra arguments must be added in the second parameter (array)
$image = rwmb_meta( 'my_image', ['object_type' => 'term', 'storage_type' => 'custom_table', 'table' => 'my_table', 'size' => 'large'], $term_id );Please read more on the documentation https://docs.metabox.io/functions/rwmb-meta/
Long Nguyen
ModeratorHi,
It looks like you've created the same question on this topic https://support.metabox.io/topic/custom-table-for-taxonomy-with-wpgridbuilder/
please discuss there and I will close this one.Long Nguyen
ModeratorHi,
Can you please share the code that creates the custom fields on your site? If the field is associated with the order, it will be updated with the WP function
update_post_meta().Long Nguyen
ModeratorHi,
Please follow the documentation to know how to get the image ID from a custom table
https://docs.metabox.io/extensions/mb-custom-table/#getting-field-value
https://docs.metabox.io/fields/single-image/#template-usage// You have to change "custom_field_name" by yours. $single_image = rwmb_meta( 'custom_field_id', ['storage_type' => 'custom_table', 'table' => 'your-table-name', 'object_type' => 'term'], $object->ID ); $image_id = $single_image['ID'];June 2, 2022 at 10:53 AM in reply to: ✅From 100 Queries Backend WP to 300-350 by activating AIO #36286Long Nguyen
ModeratorHi Timo,
If you are using the builder, you can disable the option "Create table automatically" after the custom table is created. It will prevent the code to call the API to create the table again and again.
https://monosnap.com/file/oAdAkdfojrmBXIILZXpDFaoWRllnHlPlease refer to this topic https://support.metabox.io/topic/slow-performing-queries-called-by-metaboxcapicreate/
June 2, 2022 at 10:33 AM in reply to: How to display VALUE of Taxonomy for current post in loop (using MB Views) #36285Long Nguyen
ModeratorHi Keith,
Returning an array then you need to use a loop to iterate through elements of the array. Simply like this code
{% set term_list = mb.get_the_terms( post.ID, 'category' ) %} {% for term in term_list %} <div class="term-item {{ term.slug }}"> {{ term.name }} </div> {% endfor %}It is the basic knowledge of coding so I think no need to update the documentation about this case.
Refer to the documentation https://developer.wordpress.org/reference/functions/get_the_terms/Long Nguyen
ModeratorHi,
Thanks for your feedback.
This issue has been fixed in a new commit. It will be included in the next update.
Long Nguyen
ModeratorHi Joe,
Please follow this documentation to know how to display image field value on a settings page https://docs.metabox.io/extensions/mb-settings-page/#getting-field-value
$image = RWMB_Image_Field::file_info( $team['team_member_image'], array( 'size' => 'thumbnail' ) ); echo '<img src="' . $image['url'] . '">';Long Nguyen
ModeratorHi Vlad,
Please contact us here https://metabox.io/contact/, our support team will help you with this case.
Long Nguyen
ModeratorHi,
Can you please share the generated code of the field group after migrating from ACF? Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
and some screenshots of the issue on your site.
Long Nguyen
ModeratorHi Nick,
I've not used the JS code to edit the form like that. But you can try to use AJAX with the function
wp_remote_get()to get the form config and value then display it on your page. Please read more on this documentation https://developer.wordpress.org/reference/functions/wp_remote_get/Long Nguyen
ModeratorHi,
Thank you for your feedback.
I'm going to check this issue on my testing site and see how it works. I will get back to you later.
Long Nguyen
ModeratorHi John,
Can you please share a screenshot of your invoice that demonstrate the payment is processed on May 26? Our system recognizes that the payment is processed on Apr 26.
Long Nguyen
ModeratorHi John,
We guarantee that the refund will be processed in 14 days without any issue. But you purchased the license on Apr 26 so it is not possible to issue the refund, unfortunately.
Let me know if you have any questions.
Long Nguyen
ModeratorHi John,
Thank you for your feedback.
I will inform our Marketing team to contact DiviFlash and see if there is something we can do from our side to be compatible with their plugin.
-
AuthorPosts