Forum Replies Created
-
AuthorPosts
-
December 29, 2022 at 9:55 PM in reply to: Require at least 1 field to be filled out to submit post #40062
Peter
ModeratorHello,
The JS validation only helps you to validate one field itself. If you want to validate that at least one field has value, please try to use the form validation with PHP code. Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#validation
December 29, 2022 at 9:45 PM in reply to: MB geolocation google address autocomplete not working with conditional logic #40061Peter
ModeratorHello,
Can you please generate the PHP code and share it with me? I've tried to create a simple case to show/hide the address field but do not see any issue.
Peter
ModeratorHello,
Thanks for your feedback.
I've created a feature request and sent it to the development team to consider supporting this case in future updates.
Peter
ModeratorHello,
I'm not sure if those plugins can take data from Meta Box to work with their functions but if they can work with standard custom fields of WordPress, they can work with some simple fields of Meta Box like text, email, number ...
https://wordpress.org/support/article/custom-fields/Peter
ModeratorHello,
Yes, you can put the code in the template file. Let me know if you have any questions.
Peter
ModeratorHello Pat,
I see you've created a similar question in another ticket https://support.metabox.io/topic/auto-create-the-values-for-relationships/
If you want to create a relationship between two objects (posts, terms, users) by coding, please follow this documentation https://docs.metabox.io/extensions/mb-relationships/#managing-connections-programmatically
If you cannot accomplish this, I recommend hiring an expert developer to help you with this case.
Peter
ModeratorHello,
The example of code is added to the documentation, please check it here https://docs.metabox.io/extensions/mb-relationships/#posts
To get the featured image or other post data, you also need to have a basic knowledge of WordPress coding. For example https://developer.wordpress.org/reference/functions/the_post_thumbnail/
$connected = new WP_Query( [ 'relationship' => [ 'id' => 'posts_to_pages', 'from' => get_the_ID(), // You can pass object ID or full object ], 'nopaging' => true, ] ); while ( $connected->have_posts() ) : $connected->the_post(); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php the_post_thumbnail( 'thumbnail', array( 'class' => 'alignleft' ) ); endwhile; wp_reset_postdata();Peter
ModeratorHello,
Thanks for your feedback.
If you develop your site online, there are some benefits when using unpkg to load the file from global CDN. If you develop your site offline, you can download the file to the computer and replace the unpkg URL with your local URL.
Peter
ModeratorHello,
Sorry, I do not have the ETA for that feature but it is added to the backlog development. Our developer team will work on this for future updates.
December 26, 2022 at 8:51 PM in reply to: Nested conditional logic leads to incorrect validation of required fields #40034Peter
ModeratorHi,
Thanks for your feedback.
I've escalated this issue to the development team to fix it in the next update. Let me know if you have any questions.
Peter
ModeratorAh thanks, I got the issue and I've escalated this to the development team to fix it in the next update of the plugin.
Peter
ModeratorHello,
It is not possible to display featured images, custom fields value ... of the related posts with the shortcode. The attribute
itemsis used to pass the list of post IDs that you want to display the related posts of those posts by using the shortcode. For example:[mb_relationships id="posts_to_pages" items="12,34,56" direction="from" mode="ul"]Peter
ModeratorHello,
If you use the field checkbox_list, please use the operator
into check the conditional logic. Please read more on the documentation https://docs.metabox.io/extensions/meta-box-conditional-logic/#syntaxIf you use the builder, please see this screenshot https://monosnap.com/file/5jHctYShpEhn4AKMaFJ3cFZu87AWRd
Peter
ModeratorHello,
It is expected behavior of this feature in the new version of Meta Box. You can add a new term even do not select any terms, the new term will be assigned to the post (object) after publishing/updating the post.
Peter
ModeratorHello,
If you have any questions when using Slim SEO, please submit a ticket here https://wpslimseo.com/contact/
Thanks.
-
AuthorPosts