Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,631 through 3,645 (of 3,718 total)
  • Author
    Posts
  • in reply to: IF statement to hide custom term image when empty #39189
    PeterPeter
    Moderator

    Hello Roderick,

    You can check the field variable is not empty to 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/

    in reply to: Monthly dividers on CPT events #39188
    PeterPeter
    Moderator

    Hello Antal,

    Can you please let me know what the monthly dividers look like? Does it display on the frontend only?

    in reply to: Invalid Request. Please try again. #39185
    PeterPeter
    Moderator

    Hello,

    Thanks to Tako, I'm able to produce the issue and escalate this to the development team. Hopefully, it will be fixed soon.

    in reply to: auto create the values for relationships #39177
    PeterPeter
    Moderator

    It'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/

    in reply to: Altering field options after $wp_query is set #39176
    PeterPeter
    Moderator

    Hello 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

    in reply to: CPT with no frontend pages #39172
    PeterPeter
    Moderator

    Hello,

    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' => false and 'exclude_from_search' => true to remove frontend posts and exclude them from search.

    in reply to: How to Add Pagination on a reviews page with MB Testimonials? #39171
    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello Jan,

    There is no option to auto login after registering succesfully, you can use the attribute redirect to 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 attribute email_confirmation to send a welcome and confirmation email.

    Read more on the documentation https://docs.metabox.io/extensions/mb-user-profile/#registration-form

    in reply to: auto create the values for relationships #39161
    PeterPeter
    Moderator

    When 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.

    in reply to: Conflict with "Real Media Library" Plugin #39160
    PeterPeter
    Moderator

    Hello 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.

    PeterPeter
    Moderator

    Hello 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 the alt-category post content to the WooCommerce product category description

    2. But there is no connection or relationship between product category and alt-category post to get the CPT alt-category post ID.

    3. What is the object that you assign the custom field alt_page_id to? CPT alt-category or product category? Product category is a taxonomy so if you want to get the term meta alt_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.

    in reply to: Textarea Line Breaks #39147
    PeterPeter
    Moderator

    I'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.

    in reply to: Holding fields for review #39145
    PeterPeter
    Moderator

    There 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_field and set it to false to prevent saving the field value. Read more on the documentation https://docs.metabox.io/field-settings/

    in reply to: Version 1.3.15 has wrong header #39144
    PeterPeter
    Moderator

    Hello there,

    Thank you for your feedback.

    I've informed the development team to fix this issue as soon as possible.

    in reply to: Metabox Admin menu does not appear after plugin activation #39142
    PeterPeter
    Moderator

    All 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.

Viewing 15 posts - 3,631 through 3,645 (of 3,718 total)