Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Possibility to demo multiple styles from one installation?
MatthewAlan
New
I'm trying to figure out how to set up a demo site for my styles. I already have one and one that is almost ready to be released. I can't seem to find a way that lets guests change which style they'd like.
I'm looking for something like this: http://www.yootheme.com/demo/wordpress
I don't need anything quite that fancy, but I would like to offer a demo of my styles before people download them. I don't want to have a separate installation from every style. What's the easiest way to do this?
P.S. I only know HTML and CSS. I don't really know PHP. I know the very very very very basics of it and that's it. I plan on releasing the styles for free so it doesn't make any sense to pay someone to do it either.
I'm looking for something like this: http://www.yootheme.com/demo/wordpress
I don't need anything quite that fancy, but I would like to offer a demo of my styles before people download them. I don't want to have a separate installation from every style. What's the easiest way to do this?
P.S. I only know HTML and CSS. I don't really know PHP. I know the very very very very basics of it and that's it. I plan on releasing the styles for free so it doesn't make any sense to pay someone to do it either.
0
Best Answer
-
Todd Vanilla StaffYou aren't going to be able to achieve what you want without doing some coding.
I've done something similar in a plugin which has the relevant code here:public function Base_BeforeDispatch_Handler($Sender) {
This will change the appropriate css and master view for a theme, but won't enable theme hooks.
$Theme = C('Plugins.ThemeDeveloper.Theme');
SaveToConfig('Garden.Theme', $Theme, array('Save' => FALSE));
}0
Answers
I've done something similar in a plugin which has the relevant code here: This will change the appropriate css and master view for a theme, but won't enable theme hooks.
I'm not at all sure how to take this and go from there but I'm not quite ready to release a new theme yet anyway.
I really really appreciate your help. I am really looking forward to being able to provide themes for the community here at Vanilla for free, but I'd like to do it in as professional of a manner as possible so your help is extremely appreciated!