domaingu
Member
Posted 16 years ago #
I made some sub-blogs, and thought, I'm bored of the default theme, so installed 2 new themes here:
wp-admin/wpmu-themes.php
and activated them. So they are now available in my main blog.
Unfortunately when I go to any of my sub-blogs, they just aren't there in the "available themes" menu, it is empty - only the default theme is there.
How can I make it so sub-blogs can choose themes apart from the default? And can each sub-blog have its own theme?
thanks!
RooiRampokker
Member
Posted 16 years ago #
Hi domaingu.
Themes and templates for each individual blog can be set through the wp-admin->Site Admin->Blogs ('Edit' sub-blog in question).
About halfway down, you should see 2 fields, nl:
"Template" and "Stylesheet".
Change the values in these 2 fields to the desired theme (enter the theme name as it appears in the "myBlog/wp-content/themes/" folder)
Hope this helps?
Go to Site Admin -> Edit blog. Click on each subblog and look on the right side. Are the themes listed there with checkboxes?
If so, then you did NOT enable them sitewide under wp-admin/wpmu-themes.php
On that page, the "yes" button needs to be checked.
domaingu
Member
Posted 16 years ago #
Thanks for the replies. I got to wp-admin/wpmu-blogs.php and unfortunately the only blog listed there is the main blog. Is this because am I using the MU Multi-Site plugin to run each sub-blog on a different domain? It could well be, and also explain the other problem I had last month when I couldn't find stuff relating to handling plug-ins on a per sub-blog basis.
Any of you guys run MU Multi-site plugin? And if so, suffer the same problem of the sub-blogs not appearing in wpmu-blogs.php?
Once I get this key issue sorted I think using wp-mu will be a breeze :)
Yeah, that's how the MSM plugin works. :-/
I can't remember how to get it to recognize the themes on each new site. You may have had to do it when you set it up.
Try logging in to each site and going to the Site Admin menu there - if you can see it.
honestly, if you just wanted the sub-blogs to use their own domains and NOT be a separate MU site, then I would use Donncha's domain mapping plugin instead.
domaingu
Member
Posted 16 years ago #
yeah, that's the crux - there is no site admin menu on the sub-blogs .... I'll look into the other plugin, thanks. Its sometimes very difficult assessing plugins as a newbie, there are so many and you are never sure how suitable they are until you try them, and importantly, what the main alternatives are.
thanks again
You need to add the "admin" user as a site_admin for the new site like so:
INSERT INTO wp_sitemeta VALUES(null,3,'site_admins','a:1:{i:0;s:5:"admin";}');
Where three is the site ID. That will give you the site admin tab on subsites. I'm not sure if there is a way to do this when setting up the site itself.