Forum Replies Created
-
AuthorPosts
-
Peter
ModeratorHello Roderick,
You can check the
fieldvariableis not emptyto display the image. Here is an example{% if field is not empty %} <img src="{{ field.full.url }}" width="{{ field.full.width }}" height="{{ field.full.height }}" sizes="(max-width: 2500px) 100vw, 2500px" srcset="{{ field.medium.url }} 600w, {{ field.large.url }} 1675w, {{ field.full.url }} 2000w"> {% endif %}Refer to this topic https://support.metabox.io/topic/display-header-conditionally/
Peter
ModeratorHello Antal,
Can you please let me know what the monthly dividers look like? Does it display on the frontend only?
Peter
ModeratorHello,
Thanks to Tako, I'm able to produce the issue and escalate this to the development team. Hopefully, it will be fixed soon.
Peter
ModeratorIt's not possible to create a relationship between an object and a custom field of another object. The plugin MB Relationships helps you to create relationships between objects only (post, term, user). Please read more on the documentation https://docs.metabox.io/extensions/mb-relationships/
Peter
ModeratorHello Catherine,
There is a similar question that you can find the answer here https://support.metabox.io/topic/modify-meta-box-fields-after-post-has-been-parsed-initialized
Peter
ModeratorHello,
The plugin MB Custom Post Type helps you to register the custom post type with UI instead of using the WordPress function register_post_type().
So the question should be "is this possible with WordPress?"
Yes, it is possible. For example: You can set the argument'public' => falseand'exclude_from_search' => trueto remove frontend posts and exclude them from search.November 16, 2022 at 9:48 PM in reply to: How to Add Pagination on a reviews page with MB Testimonials? #39171Peter
ModeratorHello Bilal,
Currently, there is no option to add pagination to testimonials on a page. I will inform the development team to consider supporting this feature in future updates.
November 16, 2022 at 9:41 PM in reply to: Profile pages using MB User Profile and MB Beaver Builder Integration #39170Peter
ModeratorHello Jan,
There is no option to auto login after registering succesfully, you can use the attribute
redirectto redirect a user to the login/profile page to let them login manually.
The welcome email is also not supported but you can use the attributeemail_confirmationto send a welcome and confirmation email.Read more on the documentation https://docs.metabox.io/extensions/mb-user-profile/#registration-form
Peter
ModeratorWhen a user creates entries, he will be the author of the entries and no need to set up a relationship. But if you want to allow them to select entries manually, you can use the feature MB Relationship and then use a WP Query to display selected entries only. You can do the same with two post types: item and entry.
Hope that makes sense.Peter
ModeratorHello there,
Supporting a conflict with a third-party plugin is beyond our scope of support. However, I will create a feature request for the development team to consider supporting this issue in future updates.
Thanks for your understanding and patience.
November 15, 2022 at 10:42 PM in reply to: ✅Insert Custom Post Type content into Category term-description #39150Peter
ModeratorHello Denise,
1. Let me explain your case again and let me know if it is incorrect.
- You have a CPT
alt-category
- You want to show thealt-categorypost content to the WooCommerce product category description2. But there is no connection or relationship between product category and
alt-categorypost to get the CPTalt-categorypost ID.3. What is the object that you assign the custom field
alt_page_idto? CPTalt-categoryor product category? Product category is a taxonomy so if you want to get the term metaalt_page_id, you need to pass the second argument to the helper function$value = rwmb_meta( 'alt_page_id', ['object_type' => 'term'], $current_cat_id ); echo $value;Read more on the documentation https://docs.metabox.io/extensions/mb-term-meta/#getting-field-value
4. Regarding the insert post shortcode, I dont know what type of value it need to display the post content. Please contact their support for further assistance.
Peter
ModeratorI've also searched around on Google but have not found a way to import linebreaks to the database. Please use the HTML tags
<br>meanwhile.Peter
ModeratorThere is no way to prevent saving the field on this action hook. I think you can delete the field value after that by using the function delete_post_meta().
Or use the field setting
save_fieldand set it tofalseto prevent saving the field value. Read more on the documentation https://docs.metabox.io/field-settings/Peter
ModeratorHello there,
Thank you for your feedback.
I've informed the development team to fix this issue as soon as possible.
November 15, 2022 at 9:14 PM in reply to: ✅Metabox Admin menu does not appear after plugin activation #39142Peter
ModeratorAll the downloadable extensions should be available on the My Account page. I've informed our development team to check the issue on your account. I will let you know if I have any information.
-
AuthorPosts