Forum Replies Created
-
AuthorPosts
-
August 11, 2021 at 1:24 PM in reply to: How to make a custom fields that contains one or more PDF upload? #30143
Long Nguyen
ModeratorHi Cees,
I think you can just create a
file_advancedfield to add more files to upload as you want.
https://docs.metabox.io/fields/file-advanced/Long Nguyen
ModeratorHi,
The frontend form helps you to create new posts on the front end. The post is not created so where we can get the
relationshipto repopulate? Does that mean you want to set the relationship on the backend and don't allow the user to set the relationship on the frontend?August 11, 2021 at 1:02 PM in reply to: ✅Massive bug found (?) with relationships between posts and users!!!! #30141Long Nguyen
ModeratorHi,
Thank you for your feedback.
Please assign the setting
reciprocaltotrueand re-check this issue. Let me know how it goes.
https://docs.metabox.io/extensions/mb-relationships/#reciprocal-relationshipsAugust 11, 2021 at 12:55 PM in reply to: ✅Use Checkbox Custom Type and When Checked Show Icon on Frontend #30140Long Nguyen
ModeratorHi,
It can be done if you use more conditions
$value = rwmb_meta( 'gender' ); if ( $value == 'boys' ) { echo 'Boys image here'; } if ( $value == 'girls' ) { echo 'Girls image here'; } ...Just the basic condition of PHP code, so please read more here https://www.php.net/manual/en/control-structures.if.php
August 11, 2021 at 12:49 PM in reply to: ✅Only showing certain custom fields on the frontend submission? #30138Long Nguyen
ModeratorHi John,
If you want to show the fields on the backend only, when registering the meta box and custom fields, please check if it's the admin area. For example
function register_meta_boxes( $meta_boxes ) { if( is_admin() ) { $meta_boxes[] = [ ... ]; } return $meta_boxes; }Long Nguyen
ModeratorHi,
Yes, it's based on your design what data type and field that you want to populate.
August 10, 2021 at 8:57 PM in reply to: ✅"handle_multiple_relationships" throws an error when no objects were found #30102Long Nguyen
ModeratorHi Lee,
Thank you for your feedback.
This issue has been fixed on this commit. Can you please check it?
August 10, 2021 at 8:49 PM in reply to: ✅Use Checkbox Custom Type and When Checked Show Icon on Frontend #30101Long Nguyen
ModeratorHi,
When outputting the field value, you can check it in a condition and show an icon/image as well. For example
$value = rwmb_meta( 'boys_checkbox' ); // If field is checked. if ( $value ) { echo 'Your image here'; }Get more details on the documentation https://docs.metabox.io/fields/checkbox/#template-usage
August 10, 2021 at 12:34 PM in reply to: ✅Use Checkbox Custom Type and When Checked Show Icon on Frontend #30096Long Nguyen
ModeratorHi,
Do you mean to show an icon/image on the frontend form when creating a new tournament? Or show an icon/image on the single tournament page after creating a post?
Long Nguyen
ModeratorHi,
The helper function rwmb_meta() can help you to output any field value on the frontend. You can use it to output the value in the Rich Snippet code or output the whole of the code. Refer to this article https://www.wptorc.com/add-schema-markup-without-plugin/
If you want to use an SEO plugin, please refer to this article https://metabox.io/show-reviews-serps-schema/
Long Nguyen
ModeratorHi @cybercore,
You can follow this documentation to know how to pass data (post ID) to the shortcode via custom attributes https://docs.metabox.io/extensions/mb-views/#custom-data
Long Nguyen
ModeratorHi,
The extension MB Relationships only support create connections between Game posts and Review posts. It does not help to auto-fill field values from each other. You can create custom code to update/set value for a field with the helper function
rwmb_set_meta(). Please get more details on the documentation https://docs.metabox.io/rwmb-set-meta/Long Nguyen
ModeratorHi,
Currently, this extension does not support populating data from another page. You need to create custom code to do it by yourself or contact a developer in the MB Group to ask for help https://www.facebook.com/groups/metaboxusers.
Long Nguyen
ModeratorHi,
If you want to send an email notification after a new user is created, you can use the form action hooks. Please read more here https://docs.metabox.io/extensions/mb-user-profile/#form-actions
Long Nguyen
ModeratorHi Cees,
It's not possible. The field
postonly supports showing the existing posts and does not support creating new posts. But thanks for the idea, I will inform the development team to explore the possibility. -
AuthorPosts