Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello there,
Please use the option save_format to display another date format on the frontend and read more on the documentation https://docs.metabox.io/fields/date/#date-format
Screenshot https://monosnap.com/file/Qaed4WQQXjnEw07pRurO7Gl5oxL7ouLet me know how it goes.
February 6, 2023 at 10:36 PM in reply to: Custom field type user not show in add new user /wp-admin/user-new.php #40410Peter
ModeratorHello there,
The user meta fields do not work on the add new user page, it works on the profile page
wp-admin/profile.php.Peter
ModeratorHello,
I think it is possible with Meta Box, but you will need to create a lot of code to do this job. Meta Box works like a framework and you can build your site in many ways with it but there are no prebuilt options to support every job. Instead of creating the code from scratch, you can consider using a third-party member plugin.
February 4, 2023 at 12:12 PM in reply to: Gutenberg Block with Relation does not work anymore #40396Peter
ModeratorHello Marius,
In the template file or callback function, please use the variable
$post_idto get the current post ID where you use the custom block. Please read more on the documentation https://docs.metabox.io/extensions/mb-blocks/#render_callbackFor example:
'relationship' => [ 'id' => 'kontakte-auf-seiten', 'to' => $post_id, // You can pass object ID or full object ],Then pass the page ID variable to the third parameter of the helper function
rwmb_meta( 'fax', '', $page->ID )Let me know how it goes.
Peter
ModeratorHello,
To display the selected value you can use the attribute
selectedfor the select option, please read more here https://www.w3schools.com/tags/att_option_selected.aspand to get the saved field value, please use the variable
$meta, you can see the sample code in the documentation to know how it works https://docs.metabox.io/creating-new-field-types/#adding-a-method-to-output-the-fieldFebruary 4, 2023 at 11:44 AM in reply to: MB Views PHP error in PHP 8 / maybe compatibility issue with JetEngine? #40394Peter
ModeratorHello Marius,
As you can read in the notification message, the error comes from the compatibility code of the JetEngine plugin so you can try to contact their support to ask for help with this issue.
Thanks for your understanding and patience.
Peter
ModeratorHello,
Thanks for your feedback.
I do not see that issue on my demo site. Can you please test this on a fresh install of WordPress and Meta Box again? If it still happens, please share that site credentials to the contact form https://metabox.io/contact/, I will take a look.
February 2, 2023 at 10:21 PM in reply to: Is it possible to display "No articles available" if relationship is empty? #40383Peter
ModeratorHello,
The shortcode
[mb_relationships]does not support a fallback message. You can try to create your own shortcode and display it if there is no relation posts.Peter
ModeratorHello,
It is not possible to hide a field from Rest API when matching the conditional logic of the field. The conditional logic helps you to show/hide the field on the page with JS code, actually is visible/invisible and the field element are still there.
Peter
ModeratorHello,
Please consider using the extension MB Include Exclude to load a meta box based on the user role, read more on the documentation https://docs.metabox.io/extensions/meta-box-include-exclude/
Peter
ModeratorHello there,
It is a WordPress native question so please read more on the documentation https://developer.wordpress.org/reference/functions/register_post_type/#rewrite
and refer to this topic https://wordpress.stackexchange.com/questions/53298/custom-post-type-url-rewritingFor example: go to Settings > Permalinks > Set the custom structure to
/blog/%postname%/then enable/disable this option when editing the post type > resave the permalink settings and see how it affects the post permalink.Peter
ModeratorHello Jason,
Thanks for your feedback. Please send the info to your ticket in our ticket system. Our development team will help you to check the issue.
Peter
ModeratorHello,
I'm afraid that supporting a customization code for your specific needs is beyond the scope of support, please read more here https://support.metabox.io/topic/support-policy
If you are not able to accomplish this, please create a customization service request here https://metabox.io/contact/. Our development team will help you with the best.
Peter
ModeratorHello,
The admin columns extension does not work with the subfields in a group field. It only works with top fields.
https://docs.metabox.io/extensions/meta-box-group/Let me know if it is your case.
January 31, 2023 at 10:59 PM in reply to: ✅Syncing Group Taxonomy Advanced Field with a Taxonomy Field #40368Peter
ModeratorHello,
You are correct. It is possible to set the post terms based on the taxonomy_advanced field value in a group. If you are familiar with coding you can create some lines of code to set the post terms. Please read more on the documentation
https://docs.metabox.io/actions/rwmb-after-save-field/
https://developer.wordpress.org/reference/functions/wp_set_object_terms/ -
AuthorPosts