Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi,
It's ok. I've added a condition to check if the helper function returns an array to access the key
full_url. Can you please re-check the staging site?if( is_array( $custom_avatar ) ) { $url = $custom_avatar['full_url']; }March 1, 2022 at 3:22 PM in reply to: ✅Latest Update of this and Beaver Builder seem to be killing the settings #34208Long Nguyen
ModeratorHi,
There is no need to do something to the site settings or the integrator. You just need to re-select the field color in the builder (background color), for all positions.
February 28, 2022 at 10:54 PM in reply to: Rest API Get meta_box fields show all field type as TEXT #34201Long Nguyen
ModeratorHi,
If you use the WordPress function
get_post_meta(), it will return a string for all values retrieved from the database. So thenumberfield also is a string when printing in Rest.After getting the value from Rest API, you can use JS or PHP function to change the data type (string to number).
February 28, 2022 at 10:28 PM in reply to: ✅Latest Update of this and Beaver Builder seem to be killing the settings #34200Long Nguyen
ModeratorHi Eric,
The new version updates the code to use a separate function for the color field, so I think you need to update (re-select) the Meta Box field color in all places of the builder.
From this commit https://github.com/wpmetabox/meta-box-beaver-themer-integrator/commit/0cf13aad8831ec3faa7e2d8266f36b2804dec873Long Nguyen
ModeratorHi,
You can use the WordPress function
wp_get_attachment_image_url()to get the thumbnail URL based on the attachment (image) ID.foreach ( $global_media_network_group_images as $image_id ) { $image_url = wp_get_attachment_image_url( $image_id, 'medium' ); echo '<img src="' . $image_url . '">'; }Read more on the documentation https://developer.wordpress.org/reference/functions/wp_get_attachment_image_url/
Long Nguyen
ModeratorHi,
Still have not experienced that issue https://monosnap.com/file/1VPUg5tkOYnfpJi78FXgONGw4V1umk
Can you please remove the attribute
post_idin the shortcode, which is used to edit the existed post, then recheck this issue?Long Nguyen
ModeratorHi,
I've not tested this case but you can try to use Ajax to call a function to render the frontend submission shortcode and print it on the archive page.
Long Nguyen
ModeratorHi Nick,
I do not see that issue on my site. It looks like you are using custom fields to re-order default post fields but not create a corresponding column in the custom table.
https://docs.metabox.io/extensions/mb-frontend-submission/#reorder-post-fieldsCan you please share the code that creates the custom fields in your case?
Long Nguyen
ModeratorHi,
Beaver Builder does not support showing image field with setting
'multiple' => truelikeimage_advanced,image,image_upload...
https://docs.metabox.io/fields/image-upload/#settings
https://docs.metabox.io/fields/image-advanced/#settingsPlease use the field
single_imageinstead of that field, or you can use the helper shortcode[rwmb_meta id="image_advanced"]. Please read more on the documentation https://docs.metabox.io/shortcode/February 27, 2022 at 2:35 PM in reply to: ✅Latest Update of this and Beaver Builder seem to be killing the settings #34177Long Nguyen
ModeratorHi Eric,
After updating the plugin MB Beaver Builder Integration and Beaver Builder to the newest version and re-select the background color in the footer builder, I see the background color displays as well. Screen record https://monosnap.com/file/xiRmszhNpnAgwH4tZrmkrYZxreLr7E
Can you please re-check the footer?
February 27, 2022 at 1:57 PM in reply to: Create a view with information from three different related post types #34176Long Nguyen
ModeratorHi,
When using the argument, please use the relationship ID only, don't access the relationship ID via property
relationshipsorfrom{% set hauseingang_args = { relationship: { id: 'hauseingang_mietwohnung', from: post.ID }, nopaging: true, post_type: 'hauseingang' } %} {% set hauseingaenge = mb.get_posts( hauseingang_args ) %} <ul> {% for hauseingang in hauseingaenge %} <li>Hauseingang: {{ hauseingang.post_title }}</li> {% set gebaeude_args = { relationship: { id: 'gebaeude_hauseingang', from: hauseingang.ID }, nopaging: true, post_type: 'gebaeude' } %} {% set gebaeuden = mb.get_posts( gebaeude_args ) %} <ul> {% for gebaeude in gebaeuden %} <li>Gebäude: {{ gebaeude.post_title }}</li> {% endfor %} </ul> {% endfor %} </ul>Please check the code carefully https://support.metabox.io/topic/traversing-multiple-related-cpts/#post-32105
February 27, 2022 at 1:48 PM in reply to: ✅Metabox and Oxygen builder - No Data for Field error #34175Long Nguyen
ModeratorHi David,
In case of using Oxygen Builder, please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
Refer to our support policy https://support.metabox.io/topic/support-policy/Long Nguyen
ModeratorHi,
Thanks for your feedback.
I've added two action hooks to the documentation.
February 26, 2022 at 10:52 PM in reply to: rwmb_frontend_before_process with ajax enabled not working #34164Long Nguyen
ModeratorHi Nick,
It works as well on my local site, screen record https://monosnap.com/file/7C7m2JRPjox547AdON3RrASTYmOto6
February 26, 2022 at 10:08 PM in reply to: Create a view with information from three different related post types #34163Long Nguyen
ModeratorHi,
Please refer to this topic to traverse multiple related CPTs A > B > C
https://support.metabox.io/topic/traversing-multiple-related-cpts/ -
AuthorPosts