Forum Replies Created
-
AuthorPosts
-
March 10, 2023 at 10:21 PM in reply to: Can't erase COLOR input content even with keyboard DELETE KEY #40946
Peter
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.March 9, 2023 at 7:46 PM in reply to: Referencing the DatePicker field inside of a Group only shows today's date #40918Peter
ModeratorHello Dustin,
It is possible that the Bricks builder is not compatible with MB Group to render the datepicker field on the frontend. I've used this code to display the datepicker field as well
$groups = rwmb_meta( 'event_group' ); foreach ($groups as $group) { echo date( 'F j, Y', $group['start_date']['timestamp'] ); }Note: the datepicker field with the option timestamp enabled save the value to the database in an array: timestamp and formatted, for example:
[start_date] => Array ( [timestamp] => 1678320000 [formatted] => 2023-03-09 )FYI, Bricks builder maintains the integration with Meta Box so I recommend contacting their support to ask for further assistance. Please read more here https://docs.metabox.io/compatibility/
Peter
ModeratorHello Nathan,
Regarding the license key, if you have an issue with the license key, please contact us here https://metabox.io/contact/, our development team will help you to resolve it.
Regarding the warning error, can you please downgrade the PHP version to 7.4 and recheck this issue?
March 9, 2023 at 6:57 PM in reply to: ✅List all custom post type entries by user role with delete button? #40916Peter
ModeratorHello James,
It sounds like the main feature of the frontend dashboard. Please read more on the documentation and let me know if it helps.
https://docs.metabox.io/extensions/mb-frontend-submission/#user-dashboardPeter
ModeratorHello,
Customizing the permalink settings is beyond the scope support of Meta Box. You can try to go to Settings > Permalinks > Custom structure > and set it to
/%category%/%postname%/.Or follow this article to customize the permalink with coding https://stackoverflow.com/questions/57765487/how-to-add-custom-taxonomy-in-custom-post-type-permalink
https://support.metabox.io/topic/post-type-and-then-taxonomy-for-url-structure/?swcfpc=1#post-40569Peter
ModeratorThanks, let us know if you have any questions.
-
AuthorPosts