Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello,
Saving the post title to the custom table will lead to some unexpected issues. If you want to do that, when registering the CPT, please uncheck the support fields Title, Editor.
Then register 2 custom fields with IDtitleandcontentand save the value to the custom table.Peter
ModeratorHello there,
Can you please let me know where do you create the shortcode
mb_recipes_embed_code? Please try to use the helper functionrwmb_meta()to output the field value.echo rwmb_meta( 'embed_code', '', 123 );where 123 is the post ID. Read more on the documentation https://docs.metabox.io/functions/rwmb-meta/
November 29, 2022 at 8:40 PM in reply to: Display Relationship value in GenerateBlocks dynamic data #39390Peter
ModeratorHello,
As I said before, you need to have a basic knowledge of PHP and WordPress coding to control the output data. Meta Box is not a tool with just a few clicks to set up anything on your site.
Hope that makes sense.Peter
ModeratorHello there,
Pionet Grid is not compatible with Meta Box yet so I think it will not work with the custom field that saved value in a custom table.
A product of the Pionet team compatible with Meta Box is Pionet Form which you can see here https://docs.metabox.io/compatibility/I recommend contacting the Pionet team to consider creating an integration with Meta Box and extensions to support this case.
Peter
ModeratorHello Emilia,
Somehow the table mb_relationships in the database was deleted so the relationship is not saved after updating the post. I've fixed this issue on your site and now the relationship is saved as well.
November 28, 2022 at 10:14 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39370Peter
ModeratorHello Jan,
To show/hide a heading or an element (outside from a field group), please follow this documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#using-outside-meta-boxes
But after showing the custom form [form id="drc_other"] you need to click on the Submit button of the MB User Profile form, not the Submit button of the custom form. Otherwise, the option in the field Selected Operations will not be saved.
Can you please let me know how the form and options "Vendor, ARSP license, Signed PO Terms" are registered? Or where does it come from?
November 28, 2022 at 9:56 PM in reply to: ✅PHP 8 Error after activating "MB Custom Post Types & Custom Taxonomies" #39369Peter
ModeratorHello AJ,
I'm sorry about the late reply due to the weekend. I've received your site credentials via the contact form but I cannot access the site to check the issue, screenshot https://monosnap.com/file/4dpmss0ONmTfZCttfNh7JPnv7vlNHb
Can you please create a staging site (not live site) with the issue replicated and send the credential again? I will inform the development team to check it as soon as possible.
If the issue relates to the plugin MB Custom Post Type when registering the custom post type, can you please generate the PHP code and add it to the file functions.php in the theme or child theme folder and check this issue again? This extension helps you to register the post types, taxonomies with UI instead of using the WordPress function register_post_type().
Refer to the documentation
https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code
https://developer.wordpress.org/reference/functions/register_post_type/Peter
ModeratorGreat.
Let me know if you have any questions.Peter
ModeratorHello there,
Did you follow the configuration at the top of the documentation to use the Geolocation feature?
https://docs.metabox.io/extensions/meta-box-geolocation/#configurationCan you please share some screenshots of the issue on your site? Let me know what step you are stuck in.
Peter
ModeratorHello there,
Can you please let me know the code you use to output the field value? And where did you add the code?
I do not see any issue with the format function above. Here is an example:
$number = rwmb_meta( 'number_9htwx774glj' ); // French notation $nombre_format_francais = number_format( $number, 2, ',', ' ' ); echo $nombre_format_francais;November 27, 2022 at 10:18 PM in reply to: Display Relationship value in GenerateBlocks dynamic data #39358Peter
ModeratorHello,
If you use the relationship shortcode on a page, not in the content of the post type event, please pass the ID of the post to the shortcode to the attribute
items. For example:[mb_relationships id="licensee-events" items="12,34,56" direction="from" mode="ul"]where
12,34,56are post IDs of the post type event.>> Is there any way to output the relationship value into a custom field?
You can try to add the shortcode to the field WYSIWYG and get the field value in the block/builder. But I think it is not necessary if you can add the shortcode to the page content or a block shortcode.Peter
ModeratorHello there,
I see you've created another topic with the same question https://support.metabox.io/topic/code-not-working-with-updated-version/
Please use the WordPress function get_option() to get the field value when registering the meta box and custom fields.
add_filter( 'rwmb_meta_boxes', 'sidebar_post' ); function sidebar_post( $meta_boxes ) { $enable = get_option( 'my_settings' )['enable']; if ( $enable ) { ...Peter
ModeratorHello Lex,
Currently there is no option to display the featured image in the list posts of the
postfield. I will inform the development team to consider supporting this feature in future updates.Peter
ModeratorHello,
Please share your site credentials via this contact form https://metabox.io/contact/
I will take a closer look.November 27, 2022 at 9:24 PM in reply to: ✅Remote Validation - get the data of 2+ fields in one remote validation jquery #39354Peter
ModeratorHello there,
You can pass 1 field value to the remote validation for each rule only. Please read more on the documentation to know how to use it https://docs.metabox.io/validation/#remote-validation
and refer to this topic https://support.metabox.io/topic/remote-validation-example/#post-22957 -
AuthorPosts