Forum Replies Created
-
AuthorPosts
-
February 2, 2023 at 10:21 PM in reply to: Is it possible to display "No articles available" if relationship is empty? #40383
Peter
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/Peter
ModeratorHello Yasmine,
I think it is possible to accomplish this with Meta Box. The main goal here is you need to wrap the field value outputted on the frontend in some HTML meta tags to display images and other info of the page when sharing via social. Please read more on this article https://css-tricks.com/essential-meta-tags-social-media/
There are some plugins that also support this feature, you can take a look at Yoast SEO plugin https://yoast.com/features/content-previews/social-previews/
January 30, 2023 at 9:54 PM in reply to: Custom input method for hierarchical taxonomy associated with custom post #40355Peter
ModeratorHello Scott,
Meta Box only supports two field types to display hierarchical taxonomy which are select_tree and checkbox_tree. If they are not meet your requirements, please consider creating a custom field type. Read more on the documentation https://docs.metabox.io/creating-new-field-types/
January 30, 2023 at 9:37 PM in reply to: Custom field (checkbox) whose value is settable to only one post #40354Peter
ModeratorHello,
Thank you for your feedback.
Meta Box does not support an option to check if the field value is unique to save to the database. You might need to create your own custom code to check it and then update the field value for other posts. Please refer to this hook https://docs.metabox.io/actions/rwmb-after-save-field/
January 30, 2023 at 9:17 PM in reply to: ✅Get CPT title for hidden custom form field in frontend subscription form #40353Peter
ModeratorHello,
Please share your site credentials via the following contact form https://metabox.io/contact/. I will help you to investigate the issue.
Peter
ModeratorHello Joe,
The relationship ID only accepts one. For example:
'id' => 'opinion-course',If you want to query my multiple relationships, please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/#query-by-multiple-relationships
January 30, 2023 at 8:57 PM in reply to: ℹ️Error add_action( 'rwmb_*****_before_save_post' does not work #40351Peter
Moderator@Luca: thanks for your feedback. I've informed the development team to check the issue and update the documentation then.
Peter
ModeratorHello there,
Please change the variable
ptto this one{% set pt = [ 'news', 'guide' ] %}Let me know how it goes.
-
AuthorPosts