Support › MB User Meta › shortcode to show User meta type "Select Avanced"
I add a new custom meta for User:
type "Select Avanced":
value : 1day
label: 1 day each
How do i use shortcode, like [rwmb_meta id="tm-schedule-check" object_type="user"]
to show user meta "Select Avanced"
You need to pass the user ID through the attribute object_id to the shortcode to show the user meta, like this
[rwmb_meta id="tm-schedule-check" object_type="user" object_id=1]
Hi, my i create a custom field for User, ID this custom field: note11
Custom filed group id : group_customer_info
In this group i add a sub field text id: tm_name11
i try this code but it does not work:
[rwmb_meta id="note11" object_type="user" object_id="tm_name11"]
how do i use shortcode to show sub field user from Group field.
how do i use php code for that too ?
> i want this shortcode automatically show value from current logined in user ??
The helper shortcode does not support showing the subfield value and get the current user like that. You can create your own shortcode to show them, please follow this documentation https://docs.metabox.io/extensions/meta-box-group/#outputing-group-with-page-builders