Forum Replies Created
-
AuthorPosts
-
June 21, 2021 at 8:48 PM in reply to: MB Block, assign unique id to a block when used more times on a page #29047
Long Nguyen
ModeratorHi,
The plugin does not support passing the block ID when using hook
enqueue_block_editor_assetsto enqueue scripts/styles. You can use the block ID in the render callback or template. See more here https://docs.metabox.io/extensions/mb-blocks/#render_callbackLong Nguyen
ModeratorHi,
Please follow the Debugging Information step here https://support.metabox.io/topic/how-to-create-a-new-topic/
and let me know if the error message disappears.June 21, 2021 at 7:05 PM in reply to: ✅Show all child posts from parent in CPT single template #29042Long Nguyen
ModeratorHi,
In the template of Issue post type, you can use the demo code to get the related Article posts
$connected = new WP_Query( [ 'relationship' => [ 'id' => 'issues_to_articles', 'from' => get_the_ID(), // You can pass object ID or full object ], 'nopaging' => true, ] ); while ( $connected->have_posts() ) : $connected->the_post(); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php endwhile; wp_reset_postdata();Get more details here https://docs.metabox.io/extensions/mb-relationships/#posts
Long Nguyen
ModeratorHi Kirb,
If you are using the custom query, you can get the post content by using the property
post_content, it should bepost.post_content. Get more details on this documentation https://docs.metabox.io/extensions/mb-views/#custom-queryLong Nguyen
ModeratorHi,
It's a premium add-on of GF so I have not checked this case before. But I think it might not work with MB Geolocation, because the JavaScript code will select MB's custom field with the ID
addressoraddress_something, it does not select the field from other plugins that have the same ID..rwmb-text[name^="address"], .rwmb-text[name*="[address"]June 21, 2021 at 1:01 PM in reply to: How to Create 2 more custom fields on registration page #29030Long Nguyen
ModeratorHi,
The user meta (custom fields) only available in the form shortcodes of the plugin and the profile page in Admin Dashboard > Users > Profile. The user WooCommerce profile is not supported. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi,
Currently, there is no plugin to integrate Meta Box with RankMath. I will inform the development team to consider adding it to the roadmap.
Thank you.
Long Nguyen
ModeratorGreat!
Let me know if you have any questions.
Long Nguyen
ModeratorHi Nicolas,
Meta Box has not supported saving comment meta in the custom table yet. You can implement AJAX as the lazy load option to load a few comments on loading to boost your site speed.
Long Nguyen
ModeratorHi,
Thanks for your feedback.
I will escalate this issue to the development team to fix it in the next update. And please let me know how to reproduce the issue?
Long Nguyen
ModeratorHi,
Thanks for the feedback.
Currently, there is no option/setting to remove the custom table created after deactivating the plugin. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi,
If you register the user with the custom fields
first_name,last_nameon the frontend, the field value only saved in the custom table. But if you update the user info in the backend Admin dashboard > Users > Profile, the field value will be saved in both the custom table and the default tablewp_usermetabecausefirst_name,last_nameare two default custom fields of WordPress. Can you please register a new user and re-check it?Long Nguyen
ModeratorHi,
Thank you for getting in touch.
Please remove two spaces between the square brackets and make sure that you are logged out to view the login form.
[mb_user_profile_login label_submit="Submit" label_remember="Remember" label_lost_password="Lost Password?" confirmation="You are now logged in."]Get more details on the documentation https://docs.metabox.io/extensions/mb-user-profile/#login-form
June 19, 2021 at 10:16 PM in reply to: MB Block, assign unique id to a block when used more times on a page #29003Long Nguyen
ModeratorHi Luigi,
Each block has its own unique ID, please refer to this topic https://support.metabox.io/topic/block-doesnt-receive-unique-id-when-duplicated/
June 19, 2021 at 10:06 PM in reply to: Getting custom field content on Oxygen Builder templates #29002Long Nguyen
ModeratorHi Omni,
Thank you for getting in touch.
The function
get_the_ID()used to get the post ID in the loop. Out of the loop, you may need to use get_queried_object_id() instead ofget_the_ID() -
AuthorPosts