Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello there,
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://metabox.io/support/topic/support-policy/Peter
ModeratorHello there,
Thanks for your feedback.
The extension MB Frontend Submission is not working with MB Revision or WordPress revision. I'm going to inform the developer team to consider supporting this in future updates.
Peter
ModeratorHello there,
Meta Box does not support an option/feature to return a term slug via shortcode. You need to create a custom shortcode to return it on your own. Please read more here https://wordpress.stackexchange.com/questions/387520/how-to-add-a-shortcode-function-that-returns-the-taxonomy-slug-of-the-actual-pos
January 28, 2023 at 11:17 AM in reply to: Get Metabox Group subfield values from serialized array #40334Peter
ModeratorHello,
If you use the helper function
rwmb_meta()outside of a post or page, you need to pass the post/page ID to the third parameter, just like you pass the post/page ID to the first parameter of the functionget_post_meta(). For example:$group_values = rwmb_meta( 'group_id', '', 123 )Please read more on the documentation https://docs.metabox.io/functions/rwmb-meta/
Peter
ModeratorHello Joe,
I see the
fieldssettings are missing all field settings, you can try to create a new field group and export it to a JSON file and see how it works.
Please follow the documentation below to fix this issue https://docs.metabox.io/extensions/meta-box-builder/#upgradeIf it does not help, please try to create a new field group manually with the same custom field IDs and delete the error field group. The field values are stored in the database so they will not lose if you create a new one.
Note: Please create a full back up of your site and database before deleting the field group.
Let me know how it goes.
Peter
ModeratorHello there,
It is not possible to use a block (Gutenberg) editor in a custom field (textarea or WYSIWYG). You can do versa, use a custom field in a block editor by using the extension MB Blocks. Please read more on the documentation https://docs.metabox.io/extensions/mb-blocks/
January 28, 2023 at 10:49 AM in reply to: How to set Title on CPT from custom field value instead of Auto-Draft defaults #40331Peter
ModeratorHello,
The pretty permalink (post name) is generated from the post title so if you do not have the post title, it might not work properly. You can read more here https://wordpress.stackexchange.com/questions/43102/permalink-not-working-for-page-without-title
It's the standard feature of WordPress so I highly recommend using the standard post title when registering the CPT. You can use the custom field value to replace the post title after saving the post.
Peter
ModeratorGreat.
Let me know if you have any questions.January 28, 2023 at 10:08 AM in reply to: ✅Get CPT title for hidden custom form field in frontend subscription form #40329Peter
ModeratorHello,
The function
get_queried_object_id()will return the current post where the form is located. It would be the project ID.
The variable$post_idis thesubscriptionpost ID which will be created after submitting the post.So you can try to switch them and see if it works
MB_Relationships_API::add( $post_id, get_queried_object_id(), 'subscriber-to-project', $order_from = 1, $order_to = 1 );Peter
ModeratorHello Cees,
I think it is possible. When registering with code, you can get the post title of the CPT and use the setting
stdof the field to set the default value. Please read more on the documentation
https://docs.metabox.io/field-settings/January 28, 2023 at 9:53 AM in reply to: Custom field (checkbox) whose value is settable to only one post #40327Peter
ModeratorHello,
Do you mean to set a custom field available for only one specific post? If yes, you can use the feature MB Include Exclude or MB Conditional Logic. Please read more on the documentation
https://docs.metabox.io/extensions/meta-box-include-exclude/
https://docs.metabox.io/extensions/meta-box-conditional-logic/Peter
ModeratorHello,
Sorry for the late reply, we were on the holiday.
Unfortunately, this feature is only available in the admin area which is a core feature of WordPress. Also, the frontend dashboard only displays the post of the current user so it could avoid two users editing the same post at the same time.
January 27, 2023 at 10:44 PM in reply to: MB Block select_advanced product categories stored per page #40322Peter
ModeratorHello there,
The field taxonomy does not work with custom block or group field because it set post terms, no field value is saved. If you want to use the taxonomy selection, please use the field taxonomy_advanced.
Please read more on the documentation
https://docs.metabox.io/fields/taxonomy/
https://docs.metabox.io/fields/taxonomy-advanced/January 27, 2023 at 10:21 PM in reply to: Storing cloneable group with datetime field programmatically #40321Peter
ModeratorHello,
Can you please share the code that you use to update the group field value? I see it works as well on my demo site. Here is an example:
add_action( 'init', function() { $values = []; $values[0] = [ 'provider_management_group_note' => 'asdf1234' ]; $values[1] = [ 'provider_management_group_note' => '1234asdf' ]; rwmb_set_meta( 67516, 'provider_management_group', $values ); }, 99 );Peter
ModeratorHello there,
Thanks for your feedback.
This feature is added to the development queue and our development team will work on this feature. Hopefully, it will be available as soon as possible.
-
AuthorPosts