Forum Replies Created
-
AuthorPosts
-
March 30, 2020 at 9:24 AM in reply to: ✅Version 1.50 removed MB_Admin_Columns_User and MB_Admin_Columns_Post classes #18734
Anh Tran
KeymasterHi, sorry for this issue. I've updated the docs and added to the plugin changelog.
Anh Tran
KeymasterHi, we have a tutorial for doing this here. It's for post content, but it also works for post excerpt if you change the field ID in the tutorial to excerpt.
Here is the code: https://pastebin.com/t3tBWcG6
March 27, 2020 at 9:00 PM in reply to: ✅How to extend MB Frontend Submission to anonymous posts #18714Anh Tran
KeymasterIf you use fields like
file_advancedorimage_advanced, then they requires access to Media Library to upload files, which requires users to log in and have proper capability.In this case, you can use only
fileorimagefield to upload files.Anh Tran
KeymasterHi Sofyan,
Thanks for your feedback and help. I've fixed that in the version 1.5.0.
March 27, 2020 at 5:14 PM in reply to: ✅Bug: Frontend form submit button stuck as disabled when validation fails #18707Anh Tran
KeymasterHi Mrl,
The change was added in the Meta Box AIO v1.11.0. Can you please clear the browser cache and try again?
Anh Tran
KeymasterHi John,
Can you share the full code of the meta box and settings page to test? I can't replicate the bug on my end :(.
Anh Tran
KeymasterHi Daniel,
Currently, MB Views allows you to display videos one by one, e.g. not in a playlist. To do that, please select the video field from the inserter panel.
To display all videos in a playlist, please use this Twig snippet below:
{% set videos = mb.rwmb_meta( 'video_field_id', '', post.ID ) %} {% set video_ids = mb.implode( ',', mb.wp_list_pluck( videos, 'ID' ) ) %} {{ mb.wp_playlist_shortcode( {ids: video_ids, type: 'video'} ) }}Anh Tran
KeymasterHi,
When moving the marker on the map, only map location is updated. The address is not updated. This is the designed behavior.
In addition, the “Find address” button below the map is NOT displayed at all. No JS conflicts/errors at all.
Thanks for your feedback. We decided to remove the "Find address" button, since it's confusing to many users (the input with autocomplete already works and they don't understand the purpose of the button).
Anh Tran
KeymasterHi William,
I've just added support for alpha channel in the background field. It will be available in the next version.
Anh Tran
KeymasterHi Sofyan,
Thanks a lot for your help! I've merged your PR!
Anh Tran
KeymasterThat's awesome! Thanks for sharing with other people!
Anh Tran
KeymasterHi Han, unfortunately, we don't have that feature yet.
Anh Tran
KeymasterThanks a lot! I added a screenshot on that page, and also on field settings page.
March 23, 2020 at 10:03 AM in reply to: ✅Render OpenStreetMap for Archive/Pages (Elementor or any) #18659Anh Tran
KeymasterHi,
1) To display map for cities (one per city), you can use the
rwmb_metahelper function. If you want to display all cities on a map, please see this tutorial.2) Unfortunately, FacetWP can't filter by maps. You should make it filter by other fields (cities, wards, etc.), and the map will be displayed accordingly.
March 23, 2020 at 9:59 AM in reply to: ✅Trouble getting file url of file attachment in cloneable group #18658Anh Tran
KeymasterI got it. We forget that the returned value of the
file_advancedfield is an array! So we need to get only the first file ID.if ( isset( $file_attachment['attachment'] ) ) { $file_id = reset( $file_attachment['attachment']; // Get the first file only. $file_url = wp_get_attachment_url( $file_id ); echo '<a href="' . $file_url . '" target="_blank">' . $file_name . '</a>'; } -
AuthorPosts