Forum Replies Created
-
AuthorPosts
-
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 or management plugin.
Peter
ModeratorDuplicate topic https://support.metabox.io/topic/is-this-possible-in-metabox/?swcfpc=1
I mark this one as Resolved.Peter
ModeratorHello Mats,
If you have a license issue, please submit a ticket here https://metabox.io/contact/
Our support team will help you to check this.February 6, 2023 at 11:09 PM in reply to: ✅Google Map Field attached to User Profile not updating #40414Peter
ModeratorHello Suzanne,
The Google map field saves the location in the following format
latitude,longitude,zoom(you can also check it in the database). You can contact WS Form to ask them which data format is processed after submitting the form. Then you can use the function rwmb_set_meta() or update_user_meta() to set/update the field value with the correct format.Please read more on the documentation
https://docs.metabox.io/fields/map/#data
https://docs.metabox.io/functions/rwmb-set-meta/
https://developer.wordpress.org/reference/functions/update_user_meta/Peter
ModeratorHello,
Yes, please also check this documentation https://docs.wpslimseo.com/slim-seo/facebook-open-graph-tags/
if you have any questions relate to Slim SEO, please submit a ticket here https://wpslimseo.com/my-account/support/
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/
-
AuthorPosts