mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Customizer Section for Archive(s) #259

Closed Mihari closed 8 years ago

Mihari commented 8 years ago

Since the archive generation is all done from basically a single array; would it be possible to add a section in the WordPress customizer that lets end users input what they want in what order they want with perhaps basic format editing, like alignment (left, right, center) or multiple columns, etc.

As it stands, currently, I have an entire multi-site running off a single instance of a lightly modified inkblot and child theme, and the customizer and custom.css changes handle all the rest making each one their own. However you can not have separate archive templates as it currently is.

If you get my meaning?

eh-jogos commented 8 years ago

Maybe you can make multiple archive templates inside a single php template file by using some "if"s to identify each site by their blog name or home url?

maybe something like:

if (bloginfo(name)=="Site Name 1") {
//All the code for the archive for this particular site
} elseif (bloginfo(name)=="Site Name 2"){
//And so on...

Then you could also give unique ids or classes for each, as needed, so you can style them differently on custom.css.

I don't know if this would really work, just had this idea by reading your issue.