Unyson icon indicating copy to clipboard operation
Unyson copied to clipboard

Adding theme option panel and metabox for page

Open webangon opened this issue 11 years ago • 8 comments

Hi When I was using the scratch-parent theme there were options for metabox and theme option panel.How can I use it again? I haven't seen any extension like thiese.

webangon avatar Feb 23 '15 16:02 webangon

The Appearance > Theme Settings menu appears only if your theme has {theme}/framework-customizations/theme/options/settings.php with some options in it.

I hope I have understood you correctly.

ghost avatar Feb 23 '15 17:02 ghost

Hi Thank you . Yes this is what I want. Is there anyway to put this folder inside plugin folder? I mean inside framework/extensions/

webangon avatar Feb 23 '15 18:02 webangon

Is there anyway to put this folder inside plugin folder? I mean inside framework/extensions/

Which folder?

ghost avatar Feb 23 '15 18:02 ghost

the theme option folder

webangon avatar Feb 24 '15 03:02 webangon

Why do you want to move options folder to plugin directory?

ghost avatar Feb 24 '15 11:02 ghost

I want to keep this organised.This create dependency that I must activate the plugin otherwise the options will not work. If I move folder into plugin directory then on plugin activation this option will be available.

I think it is better to make theme options and metabox as extension

webangon avatar Feb 24 '15 14:02 webangon

Sorry it's very confusing what are you trying to explain.


The theme must work without any plugin. Use TGM Plugin Activation to warn/inform users to install Unyson to be able to use all theme features (look in scratch theme how to use TGM).

ghost avatar Feb 24 '15 14:02 ghost

Is there anyway to put this folder inside plugin folder?

No. You can't put anything in plugin folder.

Thank you . Yes this is what I want.

You are welcome. I am closing this.

ghost avatar Feb 25 '15 13:02 ghost