Admin Performance

Support MB Conditional Logic Admin Performance

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48953
    DUPLODUPLO
    Participant

    I have Metabox installed on WordPress. Using the plugin, I create a modular system with different modules and different options within each module. This leads me to define many fields, and using Conditional Logic, I hide the fields that are not specific to the module.

    Given this condition, when I have many modules (around 30), the browser becomes overloaded and crashes.

    I need to know if there is any way to have the Conditional Logic functionality without loading the fields instead of hiding them with JS or CSS.

    Metabox gives us the possibility to create the administrator we want, but when we make very long pages, the administrator is useless.

    I need a solution. Can you think of one?

    #48957
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    If you don't want to load the fields and show/hide them based on the JS - conditional logic - you can use the extension MB Include Exclude which supports loading custom fields based on certain conditions.

    Following documentation https://docs.metabox.io/extensions/meta-box-include-exclude/

    #48961
    DUPLODUPLO
    Participant

    Hello,
    The truth is that we need a solution like show/hide but for the fields, not for the entire metabox. It would be very helpful if Conditional Logic could have the same capability as show/hide so as not to overload the admin.

    Consider that we have a metabox configuration with 3,500 lines of code, and almost all of them are loaded multiplied by the number of modules. In some cases, we have up to 30 modules...

    I know it's not the most common practice, but it's the utility we've found for it, and we think it's great. We just need to solve the efficiency issue.

    Thanks for your help!

    Translated with DeepL.com (free version)

    #48964
    PeterPeter
    Moderator

    Hello,

    Thanks for your feedback.

    I will inform the development team to consider supporting the feature include/exclude for custom fields in future updates.

    Let me know if you have any questions.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.