Add support for visible_if for resources

Short description of issue

visible_if should support resource specialized settings

Reproduction steps

Hello,

As of today, any resource setting (such as blog, collection_list…) won’t support visible_if. This would be useful to have it though. For instance, with the recent “article_list” new setting, we’d like to show either a blog setting or an article_list setting based on the conditional value of another setting and improve the user experience, which is currently not optimal:

Additional info

N/A

What type of topic is this

Feature request

Hi @bakura10,

At the moment, visible_if only supports a limited set of setting types, but it’s great to hear theme developers are interested in having this expanded. I’ve logged this as an internal feature request. Thanks for sharing this feedback!