Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/7ca1d85f7a685cdfabd85bdb65691b638ab4c747
You can try to apply the code on your site while waiting for the new update of Meta Box.Thanks.
December 7, 2022 at 11:28 PM in reply to: How to add Draft button and status of Post on Frontend Submission? #39596Peter
ModeratorHello Keith,
The extension MB Frontend Submission does not support a button to change the post status. With some custom code, you can create a custom field and set the post status on your own. Please read more on this topic https://support.metabox.io/topic/controlling-post-status-in-front-end-dashboard
Peter
ModeratorHello,
The variable
$GET['field_id1']helps you to get the field value when comparing in the condition, so replacing it means nothing.
If you are not familiar with coding, I recommend contacting an expert developer to help you in this case.Thanks.
December 7, 2022 at 11:07 PM in reply to: ✅Elementor Theme Builder > MB Group Skin Does Not Exist #39594Peter
ModeratorHello Bret,
Can you please share some screenshots or a screen record of the issue on your site? Please make sure that you have the latest version of Meta Box 5.6.12 and Meta Box AIO 1.16.7.
Peter
ModeratorHello,
I do not see you use the custom variable in the view content. Can you please read my replies above again?
https://support.metabox.io/topic/mb-view-gridbuilder-card/#post-39436
https://support.metabox.io/topic/mb-view-gridbuilder-card/#post-39459View content:
{{ mb.rwmb_meta( 'mg_projet_localisation', '', post_id ) }}
(missing the close parenthesis)If it still does not work, I recommend using PHP code instead of Twig code (View) to display the post meta in the card. For example:
function render_custom_field_email_block() { // Object can be a post, term or user. $object = wpgb_get_object(); // If this is not a post (you may change this condition for user or term). if ( ! isset( $object->post_type ) ) { return; } // You have to change "custom_field_name" by yours. echo rwmb_meta( 'mg_projet_localisation', '', $object->ID ) ; //pass the ID from object above }Peter
ModeratorHello Christian,
There is no option to change this title, but you can add this custom CSS code to Appearance > Customize > Additional CSS, to hide in ton the frontend.
.mbup-form .rwmb-meta-box > h2 { display: none; }Peter
ModeratorHello Chris,
If you want to display a subfield Google map in MB Views, please create a custom function to add the API key to the function render_map() like the code above then add the function to the view editor to render the map. In the view editor, it is not supported.
December 7, 2022 at 10:05 PM in reply to: ✅Store Advanced Image IDs as Variable, Pass to Shortcode Arg as Array #39587Peter
ModeratorHello Jason,
The helper function rwmb_ will return a useful array of image info
So if you want to get the image ID only, please consider using the WordPress function
get_post_meta(), then use thejoin()function to convert it to a string and pass it to the shortcode attribute. For example:$p_photos = get_post_meta( get_the_ID(), 'my_field_id' ) ; $p_photos = join( ',', $p_photos );Peter
Moderator@Arno: Thank you for your suggestion, I inform the development team about that and send a beta version to the community (like FB) before creating a new major update. Meanwhile, our development team is still working to fix issues. If you guys experience any issues, please let me know, I will forward it to the team.
Thanks.
@Edoardo: Can you please let me know the error message appears on your site?
Peter
ModeratorHello Olivier,
Thanks for your feedback.
This issue has been noticed and it will be fixed in the next update. Hopefully, it will be available soon.
Peter
ModeratorLet me know if you have any questions.
Peter
ModeratorHello Marc,
Can you please update the Meta Box to the latest version 5.6.12 and check this issue again?
Peter
ModeratorHi,
This issue has been fixed in the latest version of Meta Box. Let me know if you have any questions.
December 6, 2022 at 11:11 PM in reply to: ✅Terms meta are not being deleted after deleting the term #39562Peter
ModeratorThanks for the confirmation.
Let me know if you have any questions.December 6, 2022 at 11:08 PM in reply to: ✅RWMB_File_Field does not have a method "post_edit_form_tag" #39561Peter
ModeratorHello Alaan,
Thanks for your feedback.
The function name
post_edit_form_tagis changed toadd_form_enctypein the new version. I will inform the development team to update it in the MB Term Meta extension also. -
AuthorPosts