Can I have a unique theme only a certain person?
Thanks.
Can I have a unique theme only a certain person?
Thanks.
Here is the solution works :
Upload theme in a folder "themes";
Enabled this theme;
In the user account chose this theme;
Disabled that at the administrative account.
A fun tool is the usertheme plugin at wpmudev.org. Creates a themes folder in a users' blogs.dir folder. Unique themes for everybody!
does the user themes plugin work yet?
I've kept mine running over a year through all upgrades. It may not be future-proof, but I don't see why I'd ever shy away from hacking it to work.
I have certain group blog compatible themes (the plugin is not ready to share) where designated group blogs use different (modified) themes to regular blogs. The group blogs themes are located in a folder in the mu-plugins folder. As the theme_root constant/vatiable (can't remember which) has a filter so it can be modified by a mu-plugin. Code snippet below. Obviously you would change the if statement to if user id...
Hope this helps,
Richard
function rgo_group_blog_theme($thedir) {
if ( is_group_blog() ) {
return ABSPATH . "wp-content/mu-plugins/group_themes";
} else {
return $thedir;
}
}
add_filter('theme_root', 'rgo_group_blog_theme');
dsader, how do you do the css?
Are you running any sort of filtering on the files?
The files are copied by the server directly from the system themes folder. The end user can't see or upload to their themes folder. I keep the theme editor in "die" mode for users.
Once the theme is moved to their folder, I can turn it off in the mu-admin.
An extra perk to have a theme a user as asked for especially, that's all.
Oh, I have no anonymous users, only students I teach. Walled garden yadayada.
I do use Jason's Customcizer, it is a very popular tool for almost all users to tinker with their css colour values and image urls.
Oh, ok. I thought you were doing it for general use.
Why not just activate the theme for the individual user????
Lunabyte, the theme can further be individualized(I supervise theme editor carefully) while in their theme folder, while leaving the original copy of the theme untouched.