But by using the category-{slug}.php I can only change the formating and other stuff in the category. I want my WordPress to actually load a new visual theme like changing the css.
Or is there a way to do that with the category-{slug}.php that I don’t know of?
Have you thought about using
body <?php if(in_category("cars")) : echo "id=\"cars\""; endif; ?>
That way you can have the style.css body#cars be different from body#me and body.
Just a thought.
Yeah but I can’t only change the css, I must change all of the php files that make up the theme also. For example my default theme is “twentyten” which is in the path *public_html*/wp-content/themes/twentyten and I want to change to the theme that is in *public_html*/wp-content/themes/cars.
I found a plug-in that creates a widget with a menu that lets me change the theme, but it was a bit complicated to understand so I don’t know what part actually makes the theme change.
I think you’re making it more complicated than you need to…or what you want to do is going to require some handcoding.
I found out that the plug-in I was talking about sends this variable in my browser: my_wordpress_site_name.com/?wpthemes=cars
Is it possible for my to send the wpthemes=cars variable with php?