Theme options without Plugin?

Post Reply
joho
Master Bludit
Posts: 63
Joined: Thu Jun 08, 2023 3:02 pm
Location: Sweden
Has thanked: 17 times
Been thanked: 19 times

Is it possible for a Theme to have configurable options, without using a Plugin?

If so, how? If not, why not? :D
arfa
Master Bludit
Posts: 158
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

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.
User avatar
bayerberg
Master Bludit
Posts: 153
Joined: Wed Jun 07, 2017 1:05 pm
Location: London, UK
Has thanked: 12 times
Been thanked: 20 times
Contact:

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 :)
bludit plugins and themes - makeitblu | I do things, check them out on behance and dribbble.
joho
Master Bludit
Posts: 63
Joined: Thu Jun 08, 2023 3:02 pm
Location: Sweden
Has thanked: 17 times
Been thanked: 19 times

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.
joho
Master Bludit
Posts: 63
Joined: Thu Jun 08, 2023 3:02 pm
Location: Sweden
Has thanked: 17 times
Been thanked: 19 times

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.
Post Reply