Forum Replies Created
-
AuthorPosts
-
Long Nguyen
ModeratorHi Chris,
If you want to display the post date in the custom query, please use the field
post_date. For example:{% set args = { post_type: "kundenbewertung", posts_per_page: 999 } %} {% set posts = mb.get_posts( args ) %} {% for post in posts %} <div> Date: {{ post.post_date | date( 'd.m.Y' ) }} <br> Title: {{ post.post_title }} </div> {% endfor %}Refer to this documentation https://docs.metabox.io/extensions/mb-views/#custom-query
Long Nguyen
ModeratorHi Daniel,
Thank you for your feedback.
I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi Cees,
There is no limitation of relations. But if there are too many relations, it might slow down your site or make the browser crash. Refer to this topic https://support.metabox.io/topic/out-of-memory-if-more-than-2000-relations/
February 6, 2022 at 8:51 PM in reply to: Get title, phone number, business name, business hours etc #33673Long Nguyen
ModeratorHi,
is it possible to search by business name?
No, you can search by address and display business results only. Please read more on the documentation https://docs.metabox.io/extensions/meta-box-geolocation/#field-group-settingsI would like to be able to automatically set the Post Title to the business name, pull in the business phone number, website and business hours
There is no field phone number, website, hours ... of the business to populated so it's not possible to do that. You can get the details of fields here https://docs.metabox.io/extensions/meta-box-geolocation/#other-fieldsLong Nguyen
ModeratorHi Marco,
The extension MB Frontend Submission does not support an option to duplicate a post. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi Will,
It would be great to be able to target the various MB Custom Table admin views in CSS. Currently each screen in the admin area has the same body classes. In standard WordPress CPTs you can target classes such as 'edit-php' or 'post-php' to differentiate between a List Table view, or an Add or Edit one.Thank you for your feedback.
I'm going to inform the developer team to consider adding it to the to-do list for the future development of the plugin.Any update on getting the following protection put in place? As there is no 'bin' when using a custom model we need to protect clients from accidentally deleting recordsThis feature will be included in the next update.
Long Nguyen
ModeratorHi,
Thank you for your feedback.
I've escalated this issue to the development team to fix it in the next update.
February 2, 2022 at 3:18 PM in reply to: ✅Taxonomy Field: Allow users to create mutiple new terms when submitting the post #33614Long Nguyen
ModeratorHi,
Currently, field
taxonomyonly supports adding one term when submitting the post. I will inform the development team to consider supporting adding more terms in future updates.February 2, 2022 at 3:02 PM in reply to: ✅Is there any way to import a csv to populate relationships? #33613Long Nguyen
ModeratorHi,
Unfortunately, the relationship uses the custom table to save the data so currently, there is no way to import relationship data to your site. I will inform the development team to explore the possibility.
Long Nguyen
ModeratorHi Jeremy,
So if the current post has child posts, you can assign the variable
$post_idto the parameterpost_parent[ 'name' => __( 'Controller', 'your-text-domain' ), 'id' => $prefix . 'controller', 'type' => 'post', 'post_type' => ['controller'], 'field_type' => 'select_advanced', 'query_args' => [ 'orderby' => 'post_title', 'order' => 'ASC', 'post_parent' => $post_id, ], 'tab' => 'monitor_details', ],Read more about parameter
post_parenthere https://developer.wordpress.org/reference/classes/wp_query/#post-page-parametersFebruary 2, 2022 at 2:40 PM in reply to: ✅Append a Related Posts title to the title of created Post. #33610Long Nguyen
ModeratorHi,
Please refer to this topic https://support.metabox.io/topic/create-update-cpt-title-from-relationship-title/
to update the post title with the relationship post title.Long Nguyen
ModeratorHi,
I do not see that issue on my site, screenshot https://monosnap.com/file/ROq5WTjtFurxA4Bxc4geshz7CV72aI
Can you please deactivate all plugins except Meta Box, MB extensions and switch to the standard theme of WordPress then re-check the issue?
February 2, 2022 at 10:52 AM in reply to: ✅Orderings items from a "Post" custom field using WP_Query #33607Long Nguyen
ModeratorHi Adrien,
To get the posts in the same order as the backend, you can just follow the Template Usage to do https://docs.metabox.io/fields/post/#template-usage
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://support.metabox.io/topic/support-policy/February 2, 2022 at 10:47 AM in reply to: ✅Beaver Themer not displaying MB image when inserted as shortcode. #33606Long Nguyen
ModeratorHi,
The Beaver shortcode is not compatible with the Meta Box image fields. I'm going to inform the developer team to consider supporting it in future updates.
Thank you.
February 2, 2022 at 9:37 AM in reply to: ✅How to display attachemnts upload /modification date? #33605Long Nguyen
ModeratorHi,
You can use the WordPress function
get_the_date()to get the date of files uploaded.
For example:$files = rwmb_meta( 'file_upload_vd4t530xyb', ['object_type' => 'user'], 1 ); foreach ($files as $file_id => $file_data) { echo get_the_date( 'c', $file_id ); }Read more on the documentation
https://docs.metabox.io/fields/file-upload/#data
https://developer.wordpress.org/reference/functions/get_the_date/ -
AuthorPosts