Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorCould you please share the code that created the field
select_advancedand show on the front end? I will take a closer look and give a quick response.Long Nguyen
ModeratorHi,
When a user changes his/her email (successfully submitted), he still has the status logging in that session but after logging out, he can use the new email.
It just like when you update your email in backend Users -> Your Profile.
Long Nguyen
ModeratorHi,
When using the function
rwmb_the_value()to show the value of the fieldselect_advanced, it just shows the list with HTML tag<ul> <li>, not the<a>tag.Or you can use the function
rwmb_get_field_settings()to get all settings of a field.Long Nguyen
ModeratorHi,
You can use the JavaScript code below to move the confirmation message to another div/class.
jQuery(document).ready(function($) { var userProfileConfirm = $('.rwmb-confirmation'); if (userProfileConfirm.length > 0) { userProfileConfirm.remove(); $('footer').append(userProfileConfirm); } });See my screenshot https://share.getcloudapp.com/p9uPkoxD.
Long Nguyen
ModeratorHi,
Thank you for pointing this out. I'm going to pass this topic to the developer team to check it out. At this time, please try to Add New block to get a different ID.
Long Nguyen
ModeratorHi,
Please follow this topic https://support.metabox.io/topic/change-user-role/.
I've created a few lines of code to set/change the user's role in the front end with the profile shortcode.
Let me know how it goes.
Long Nguyen
ModeratorHi,
Yes, the field is stored in the table
usermetalike the post meta. You can follow the documentation to get field value https://docs.metabox.io/extensions/mb-user-meta/#getting-field-value.Long Nguyen
ModeratorHi,
I’m going to check it out and let you know later.
Thank you.
Long Nguyen
ModeratorHi,
Each block has its own unique ID, please see my screen record https://www.loom.com/share/f0076202d7a449308559efd842aa3f35. I've printed it out in the preview block.
June 25, 2020 at 8:59 AM in reply to: ✅Would it be possible to access a block name from within a callback/template? #20484Long Nguyen
ModeratorHi,
I'm going to check it out and let you know later. Thank you.
Long Nguyen
ModeratorHi,
I'm going to check it out and let you know later.
Thank you.
Long Nguyen
ModeratorHi,
This issue relates to this topic https://support.metabox.io/topic/fieldset-text/. Have you fixed the issue from the field
fieldset_text? Please check it again and let me know.Long Nguyen
ModeratorHi,
Yes. We can add the number of clones to the option
Maximum number of clonesin the Builder. See my screenshot https://share.getcloudapp.com/v1uebrPD.Or use the setting
max_clonein the code by following this documentation https://docs.metabox.io/cloning-fields/#clone-settings.Long Nguyen
ModeratorHi,
You can use the function
rwmb_meta( $field_id, $args, $post_id )and pass the argument$image['ID'], the code should be$select_immagini = rwmb_meta( 'select_immagini' ); foreach ($select_immagini as $index => $image) { echo rwmb_meta( 'media_Frase2', '', $image['ID'] ); echo '<br>'; }and please notice that the custom field ID is
$prefix . 'Frase2'so you have to pass the real field IDmedia_Frase2to the functionrwmb_meta().For more information, please follow the documentation https://docs.metabox.io/rwmb-meta/#arguments.
Long Nguyen
ModeratorHi,
Your code shows the alt text of the image as well.
$select_immagini = rwmb_meta( 'select_immagini' ); foreach ($select_immagini as $index => $image) { echo $image['alt']; echo '<br>'; }Could you please edit the image and check the alt text of the image again?
https://share.getcloudapp.com/kpu57mp7 -
AuthorPosts