Forum Replies Created
-
AuthorPosts
-
September 1, 2022 at 10:02 AM in reply to: ✅MB Builder Editor Not Loading "TypeError: t.map is not a function" #38151
Long Nguyen
ModeratorHi Digitanos,
There should be a conflicting plugin that causes the issue. After deactivating all plugins except Meta Box, Meta Box AIO, I can edit/create the field group as well. Screenshot https://monosnap.com/file/6sTL0LFL6KjZzNt6fRQ4A7cryXHBf4
August 31, 2022 at 10:13 PM in reply to: ✅MB Builder Editor Not Loading "TypeError: t.map is not a function" #38146Long Nguyen
ModeratorHi Digitanos,
Please your site or staging site credentials via this contact form https://metabox.io/contact/
I will take a closer look.Long Nguyen
ModeratorHi Dan,
Thanks for your additional info.
I've escalated this issue to the development team to investigate the issue and get back to you later.
August 31, 2022 at 9:58 PM in reply to: Feature Request: PHP error log for MB Views based code #38144Long Nguyen
ModeratorHi,
Thank you for your suggestion.
Currently, the MB Views extension uses a parser to parse the Twig code (View content) to the PHP code and run on your server. In this case, it's so hard to point the error on an exact line like using PHP code, you have to read the log to find the error on your code.
I will inform the development team to consider supporting this feature in future updates.August 31, 2022 at 11:29 AM in reply to: ✅Post Field: Logged-in admin can't view titles of posts that are "Private" #38139Long Nguyen
ModeratorHi Cynthia,
You can add the argument
post_statusto the optionquery_argsin the builder to get posts bypost_status. The default value ispublish. Screenshot https://monosnap.com/file/5an5XFxX7QHZJ84pvbp8gv1jmQUAsjPlease read more on the documentation https://developer.wordpress.org/reference/classes/wp_query/#status-parameters
https://docs.metabox.io/extensions/meta-box-builder/#dot-notationLong Nguyen
ModeratorHi Paul,
Using too many plugins on your site will lead to unexpected issues like errors, slowdown ... but without these builder, searching plugins, you have to build your site with many lines of code.
Meta Box and extensions help you to add the field values on the backend and display raw values on the frontend without styles, layouts, or filters...If your site is loaded too slow, you can create a custom service request here https://metabox.io/contact/
our development team can help you to optimize the functionality for an extra fee.Long Nguyen
ModeratorHi,
You can use this plugin to change the taxonomy slug and move all terms to the new one
https://wordpress.org/plugins/taxonomy-switcher/Long Nguyen
ModeratorHi,
Yes, you can run many loops in the same view to get posts. Just like
{% set args1 = { post_type: 'post', posts_per_page: 1 } %} {% set posts1 = mb.get_posts( args1 ) %} {% for post1 in posts1 %} Post title: {{ post1.post_title }} {% endfor %} {% set args2 = { post_type: 'page', posts_per_page: 2 } %} {% set posts2 = mb.get_posts( args2 ) %} {% for post2 in posts2 %} Post title: {{ post2.post_title }} {% endfor %}Read more on the documentation https://docs.metabox.io/extensions/mb-views/#custom-query
Long Nguyen
ModeratorHi,
There is no issue after implementing your code and shortcode on my local site, screen record https://monosnap.com/file/V5lUd9Luv8WsWAy1Y0pdV65rUqeLLP
Can you please test this issue again with a fresh install of WordPress, Meta Box and no other plugins?
August 30, 2022 at 10:19 PM in reply to: ✅Custom Table Values - Not Saving To The Custom Tables #38129Long Nguyen
ModeratorHi,
Thanks for your additional information.
I've escalated this issue to the development team to investigate the issue and get back to you later.
Long Nguyen
ModeratorHi Dan,
I do not see any issue when saving field value to the custom table, here is the screen record on my demos site https://monosnap.com/file/IiJjTxbIqV78hQmGmC5vbYp2pO0RNG
Can you please create a new field group with a new custom table and recheck this issue?
Long Nguyen
ModeratorHi,
If the field group with custom fields has been saved value to the database before, the setting
stdwill not work. You can create a new field group and a custom field then re-check this issue.Please read more about the default value on this documentation https://docs.metabox.io/creating-fields-with-code/#why-does-not-my-default-value-work
Long Nguyen
ModeratorHi,
The callback function is not valid, you need to change it from
render_custom_field_email_block()toregister_custom_field_email_block()August 30, 2022 at 5:59 AM in reply to: Help with displaying images from a URL in a cloneable Meta Box group #38118Long Nguyen
ModeratorHi,
The code looks correct to output the subfield value in a group. And you can also follow this article to know how to display it in a carousel/slider with WP Grid Builder or Elementor.
https://metabox.io/show-featured-restaurants-on-homepage-p1-meta-box-elementor-wp-grid-builder/With the Bricks Builder, they have created the integration with Meta Box so you can contact their support to ask for displaying field values in a slider.
Long Nguyen
ModeratorHi,
I think this issue is related to the PHP setting
max_input_vars, you can try to follow this tutorial to fix the issue https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/ -
AuthorPosts