Page 1 of 1

Theme options without Plugin?

Posted: Tue Jul 09, 2024 7:25 am
by joho
Is it possible for a Theme to have configurable options, without using a Plugin?

If so, how? If not, why not? :D

Re: Theme options without Plugin?

Posted: Mon Jul 29, 2024 1:32 am
by arfa
Do you mean "is there an admin style panel for configuring themes?"
I am relatively new to bludit but I suspect that the variation in theme variables is such that this would be too complex to develop as a generic UI.

A theme is internally configured. If you want to change elements of the theme you will need to edit the code directly.

Re: Theme options without Plugin?

Posted: Tue Jul 30, 2024 9:43 am
by bayerberg
one of my themes used options you can tweak through settings > general to tweak how things looked. if items per page were divisible by two blog had two columns, if three - three columns. if you set your facebook and twitter pages this triggered facebook and twitter sections. if you get creative enough there are ways to make your themes quite interesting :)

Re: Theme options without Plugin?

Posted: Fri Aug 23, 2024 12:57 pm
by joho
arfa wrote: Mon Jul 29, 2024 1:32 am Do you mean "is there an admin style panel for configuring themes?"
I am relatively new to bludit but I suspect that the variation in theme variables is such that this would be too complex to develop as a generic UI.
I'm a theme author, and what I was wondering was if there was a way to provide theme options without writing a theme plugin at the same time :-)

I have now written a plugin for the theme that provides admin options.

Re: Theme options without Plugin?

Posted: Fri Aug 23, 2024 12:59 pm
by joho
bayerberg wrote: Tue Jul 30, 2024 9:43 am one of my themes used options you can tweak through settings > general to tweak how things looked. if items per page were divisible by two blog had two columns, if three - three columns. if you set your facebook and twitter pages this triggered facebook and twitter sections. if you get creative enough there are ways to make your themes quite interesting :)
Thanks.

Yes, you certainly can make them more interesting :-)

My question, if unclear, however, was whether or not you could do this in the theme, or if you actually need a theme plugin to accomplish this. As things are now, I have written a theme plugin (with the same name) to provide options, and it works.