Forum Replies Created
-
AuthorPosts
-
January 29, 2021 at 10:46 PM in reply to: ✅Is it possible to create a site like imdb using a plugin? #24250
Long Nguyen
ModeratorHi Kabus,
Thank you for using Meta Box!
Meta Box is a simple yet powerful plugin that helps developers build custom meta boxes and custom fields in WordPress fast and easily. It supports creating custom post types, settings page, user meta, blocks ... with many field types.
If this is the first time you are using Meta Box, please follow our documentation to know how it works https://docs.metabox.io/.
Long Nguyen
ModeratorHi,
I've not tested all options/features of ACF before but simply, we can activate ACF and Meta Box without any errors. So I think you can use both plugins.
For further moving from ACF to Meta Box, you can refer to this topic https://support.metabox.io/topic/convert-acf-fields-to-metabox/.
Long Nguyen
ModeratorHi,
There are two ways to fire an action after saving the settings page.
- Use the action
rwmb_{$meta_box_id}_after_save_postwith the latest meta box register on the settings page. After saving the value of this meta box, the custom action will be fired. -
Still use the action
mb_settings_page_loadbut we need to check if the $_POST variable has value.
add_action( 'mb_settings_page_load', function ( $args ) { if( !empty( $_POST['submit'] ) ) { // do your stuff } }, 20 );Hope that helps.
Long Nguyen
ModeratorHi,
Thank you for your reporting!
Can you please share full the code to create the block, template, and steps to happen the issue? I will try to reproduce the issue on my end. Some screenshots are very appreciated.
January 29, 2021 at 10:53 AM in reply to: ✅Can't find the metabox settings page for custom code #24238Long Nguyen
ModeratorHi Floris,
Thank you for using our plugin!
As I can see Anh Tran has replied to this question on the Facebook Meta Box Users group. Let me know if it helped.
https://www.facebook.com/groups/metaboxusers/permalink/779311819353131/January 29, 2021 at 10:42 AM in reply to: ✅User Custom Fields and Elementor Dynamic Content for Author #24237Long Nguyen
ModeratorHi Kati,
Thank you for using our plugin!
The extension Meta Box - Elementor Integrator also helps you to show the meta value of the user who created the post. You can select the field Author Meta when getting the dynamic value, screenshot https://share.getcloudapp.com/2NuEK2PO.
A short screen record demonstrates how it works: https://share.getcloudapp.com/RBu41PL6
January 29, 2021 at 10:26 AM in reply to: ✅User Meta Meta Boxes have Title and Duplicate Header 'Description' #24235Long Nguyen
ModeratorHi,
Thank you for your idea.
If you want to add the description for the user meta, please use that action to add the desc. Just like:
add_action( 'rwmb_before_{$metabox_id}', function() { echo '<p>Descrition for User Meta</p>'; }, 20 );And remove the Meta box title, you can use this trick: leave the meta box title with some spaces 🙂
Long Nguyen
ModeratorHi,
Follow your previous topic: https://support.metabox.io/topic/get-advanced-images-from-array/
/** * return an array of image IDs [0] => 234 [1] => 456 [2] => 831 [3] => 1112 */ $disli = $dislider['gallimage'];To get the first image from the field
image_advancedvalue, please follow this code:$image = RWMB_Image_Field::file_info( $disli[0], ['size' => 'large'] ); echo '<a href="' . $image['url'] . '" data-lightbox="'.$dislider['gallname'].'"></a>';Long Nguyen
ModeratorHi,
Thank you for your reporting.
I will check these issues and add them to the to-do list of the development. It will be fixed in the next update as soon as possible.
Long Nguyen
ModeratorHi,
Thank you for your reporting.
We've aware of this issue and fixed it in a new commit, it will be included in the next release.
Long Nguyen
ModeratorHi,
Do you mean after updating Meta Box AIO v1.13.0 then the conditional logic is broken? Can you please follow the step Debugging Information and let me know what's going on?
https://support.metabox.io/topic/how-to-create-a-new-topic/You can also share the code to create the conditional logic, I will test it on my demo site.
Long Nguyen
ModeratorHi,
If you do not use the function in the loop, just add a parameter to the function like the helper function.
function query_crm_usados_interna( $post_id ){ $meta = rwmb_meta( 'if_usados_usad_id', '', $post_id ) return $meta; }then pass the post ID when calling the function
echo query_crm_usados_interna( 1234 );Long Nguyen
ModeratorHi friends,
The developer team is working hard to create an integration plugin for WP All Import but their APIs is not enough to do that so the integration will be paused for a time to wait for the WPAI to add more useful APIs in their source code.
I will inform you if there is any information.
Long Nguyen
ModeratorHi Jacob,
Thank you for reaching out.
Not yet, this feature is the core of MB Blocks and it has been added to the to-do list of the developer team. It will be included in the future update.
Long Nguyen
ModeratorHi,
There isn't a hook like that. I'm going to create a feature request for the developer team to support a hook only after saving settings.
Thank you.
- Use the action
-
AuthorPosts