Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Currently, there is no option to add the placeholder to the search box. The placeholder field setting supports displaying the text before selecting the value as in your screenshot. I will inform the development team to consider supporting this feature in future updates. Thanks.
Peter
ModeratorHello Sean,
You can use the FacetWP to filter the post by custom fields created with Meta Box, but it works with the top field only. For the subfields in a group, the filter does not work. So for the product variation in the series https://metabox.io/series/product-variations/, it's not possible.
Please read more on the documentation https://docs.metabox.io/extensions/meta-box-group/
March 11, 2023 at 9:04 AM in reply to: How do I display an image custom field on Author pages? #40953Peter
ModeratorHello,
Can you please let me know which image field type you are using? You can try to use the field single_image, and use the helper shortcode [rwmb_meta] to display the image field. Please read more on the documentation
https://docs.metabox.io/fields/single-image/
https://docs.metabox.io/shortcode/Peter
ModeratorHello,
Thanks for your additional information.
I've escalated this issue to the development team to fix it in the next update. Currently, it might not affect any function of the Meta Box plugins on your site.
March 10, 2023 at 10:35 PM in reply to: ✅Populate Select Advanced Field With Data From WP_Query #40947Peter
ModeratorHello,
If you can create an ajax call to get the query data, please append the value to the option list by using jQuery. The [options] field setting is loaded on page load so if you put your code there, it will not work as expected. Please refer to this topic https://stackoverflow.com/questions/17384705/updating-list-of-select-options-using-jquery-and-ajax
March 10, 2023 at 10:21 PM in reply to: Can't erase COLOR input content even with keyboard DELETE KEY #40946Peter
ModeratorHello,
Thank you for your feedback and share the solution.
Currently, the mode hex should work as the default setting. I've escalated this issue to the development team to fix it in the next update.
Peter
ModeratorHello,
You should use the
$fieldvariable to set the field setting instead of mapping variable$f. The correct code should be like thisadd_filter( 'rwmb_normalize_group_id_field', function( $field ) { foreach($field['fields'] as $key => $f) { if ($f['id'] === 'text_id') { $field['fields'][$key]['readonly'] = true; } } return $field; } );March 10, 2023 at 6:48 PM in reply to: Beaver Builder image gallery connection to Metabox field #40938Peter
ModeratorHello,
Currently, it does not work with the slideshow or gallery module. This feature is in our development queue and we will work on this in the next update or so.
March 10, 2023 at 6:46 PM in reply to: ✅List all custom post type entries by user role with delete button? #40937Peter
ModeratorHello,
So you will need to create your own dashboard with some custom code to display a list of CPT belonging to a user on the frontend. If you are not able to accomplish the task, you can create a customization service request here https://metabox.io/contact/
our development team will help you with an extra fee.Peter
ModeratorHello,
Because the image_upload field saves each image ID in one row so I think you can use the WordPress function
get_post_meta()to get the array of image IDs for simplicity. For example:{% set image_upload = mb.get_post_meta( post.ID, 'image_upload_field', false ) %} {% set list_images = mb.join( ',', image_upload ) %}Please read more on the documentation
https://docs.metabox.io/fields/image-upload/
https://developer.wordpress.org/reference/functions/get_post_meta/Peter
ModeratorHello,
I think it is a basic case to output the value on the frontend. You can use an
ifstatement to do that. For example:if( field_value == 'something' ) { echo 'ABC'; } else { echo 'DEF'; }Please read more on the documentation to get the field value https://docs.metabox.io/fields/select/
Peter
ModeratorHello,
Currently, it is not possible to change the field settings after saving another field like that. If you want to modify the field settings, please use the filter hook
rwmb_normalize_field, please read more on the documentation https://docs.metabox.io/filters/rwmb-normalize-field/Peter
ModeratorHello,
You can try to use this code to check if the feature image is not empty to display the image tag on the frontend.
<div> {% if term.feature_image.full is not empty %} {% set field = term.feature_image.full %} <img src="{{ field.url }}" width="{{ field.width }}" height="{{ field.height }}" /> {% endif %} </div>Peter
ModeratorHello,
Can you please try to reinstall the plugin Meta Box AIO and recheck this issue? You can download a fresh copy of the plugin from the My Account page https://metabox.io/my-account/ and install it on your site.
Or do you install Meta Box AIO via composer? Please try to clear the cache and run the command again, please read more on the documentation https://docs.metabox.io/integration/#why-cant-i-update-with-composer
Peter
ModeratorGreat.
Let us know if you have any questions. -
AuthorPosts