![]() |
|
Remove or hide default theme options? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Remove or hide default theme options? (/thread-13210.html) |
Remove or hide default theme options? - thany - 11-03-2019 I'm working on a theme that doesn't respect most of the default theme options, like rows/columns, thumb size, that sort of thing. I have a very good reason for that, don't worry (and I'm happy to take on the argument, but perhaps not here & now). So I want to remove or hide them in the options for my theme, as they will only be confusing. They won't do anything, and I certainly don't want to raise false expectations from people who might use my theme, when I release it. Remove or hide default theme options? - acrylian - 12-03-2019 You cannot remove or hide options but you can disable them. See the Zenpage theme for an example. It's perfectly fine to not cover most options. Almost all themes I create for sites uses custom sizes on the theme instead of any options. And the concept of rows/columns is stone age and to be removed in the future anyway. Remove or hide default theme options? - thany - 13-03-2019 Sounds good, I'll check it out. Remove or hide default theme options? - acrylian - 13-03-2019
What is confusing? That they can't be hidden completely? That is planned but not possible with the current code base of option handling. That's being reworked for the major release although it has less priority. Remove or hide default theme options? - thany - 15-03-2019 The confusing part is when there's an option that doesn't do anything by design (of the theme). It's confusing to a user, mind you. Not to me. Remove or hide default theme options? - acrylian - 15-03-2019 Yes, I agree on this and it's on the list for the backend rework later as option handling needs to be changed. However this only applies to some standard options and not for custom options which of course only appear when you add them ;) |