Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Tedd,
You can use the plugin Post Type Switcher to change the CPT slug without losing the post
https://wordpress.org/plugins/post-type-switcher/July 18, 2022 at 9:08 PM in reply to: ✅Error : "Invalid File" when delete image - Custom Field - User - Type : Image #37062Long Nguyen
ModeratorPlease update the Meta Box plugin to the latest version 5.6.5 and re-check this issue. Let me know how it goes.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I will inform our marketing tool to create more tutorials about this feature. Meantime, please follow this guide to know how to use MB Groups and Elementor
https://www.youtube.com/watch?v=2mJoa-JMz-kLong Nguyen
ModeratorHi,
Yes, you need to delete the custom field (meta key and meta value) in the database as the suggestion. Let me know if you have any questions.
Long Nguyen
ModeratorHi,
I think the code should be
meta_query: [{ key: 'promotion_start_date', value: 'now'|date("Y-m-d"), //change to how promotion_start_date is stored compare: '<=', }, { key: 'promotion_end_date', value: 'now'|date("Y-m-d"), //change to how promotion_end_date is stored, compare: '>=', }],Refer to the documentation https://developer.wordpress.org/reference/classes/wp_query/#custom-field-post-meta-parameters
and this topic https://stackoverflow.com/questions/28285722/wordpress-query-by-custom-field-with-date-typeJuly 18, 2022 at 9:43 AM in reply to: ✅Update an Existing or create New Relationship based upon custom field value #37054Long Nguyen
ModeratorHi,
I've not heard a case about using a Google bot to trigger a PHP/WordPress function on your site to do something. It is also beyond the scope of support of Meta Box so I recommend hiring an expert developer to help you to achieve this goal.
July 17, 2022 at 10:45 PM in reply to: ✅Update an Existing or create New Relationship based upon custom field value #37051Long Nguyen
ModeratorHi,
You should add the second parameter to the helper function, if there are no extra arguments, just leave it blank.
$related_client_id_value = rwmb_meta( 'wpcf_related_client_post_id_via_select_field', '', $post_id );Read more on the documentation https://docs.metabox.io/functions/rwmb-meta/
Or you can get the client post ID field value via the global
$_POSTvariable$related_client_id_value = $_POST['wpcf_related_client_post_id_via_select_field'];Long Nguyen
ModeratorHi Jacob,
Please share your site credentials via this contact form https://metabox.io/contact/, I will take a closer look. Thanks.
Long Nguyen
ModeratorHi,
Thanks for more information.
So you can just change the custom taxonomy slug with another one to make it works properly.
Long Nguyen
ModeratorHi François,
If the helper function rwmb_meta() gets the field
fg_sale_infovalue successfully, it should work for the fieldfg_sale_price. And the code should be$go_price = rwmb_meta( 'fg_sale_price', '', $object );Or you can try to use the WordPress function
get_post_meta()to get the post meta (field value)$go_price = get_post_meta( $object, 'fg_sale_price' );Get more details on the documentation https://developer.wordpress.org/reference/functions/get_post_meta/
July 17, 2022 at 10:10 PM in reply to: I think MB Views is converting ampersands to HTML entities? #37046Long Nguyen
ModeratorHi Brandon,
I do not see that issue on my site. Can you please check the script code on the frontend by using Inspect tool?
Long Nguyen
ModeratorHi,
@Chris: Is the Google map a subfield (in a group) on your site? Please share some screenshots of the issue and the code that creates the custom fields.@Marius: Please use the option Map (custom style) when inserting the field map to View content. The option default style does not look working.
Long Nguyen
ModeratorHi Eric,
If you are using the code to create the meta box and custom fields, please find the
contextsetting under meta box settings.add_filter( 'rwmb_meta_boxes', 'your_prefix_function_name' ); function your_prefix_function_name( $meta_boxes ) { $meta_boxes[] = [ 'title' => __( 'Post Meta', 'your-text-domain' ), 'id' => 'post-meta', 'context' => 'side', //here 'fields' => [ ... ], ]; return $meta_boxes; }Read more on the documentation https://docs.metabox.io/creating-fields-with-code/#field-group-settings
Long Nguyen
ModeratorHi goshen,
If you still have a problem with the license key, please contact us via this contact form https://metabox.io/contact/. I will help you to check the issue.
Long Nguyen
ModeratorHi,
MB Tooltip and MB Conditional Logic are required to enable to use MB Views. If you use MB AIO, please enable them in Meta Box > Extensions. If you use the single extension MB Views, they are ready-included in the source code.
-
AuthorPosts