You’re using the same theme on the main blog as the member blogs. home.php overrides index.php in any theme on any blog. that’s the template hierarchy at work.
If you want something slightly different for the member blogs, make a copy of that theme without the home.php.
Hi Andrea,
Thanks for quick responding. But how would i apply that particular theme to all user blogs and my main theme to main blog?
Is there any way?
Regards,
Sam.
Hi Andrea,
Can you please tell me if this is possible using child themes. Or else can we use this plugin??
http://wordpress.org/extend/plugins/multisite-themes
Regards,
Sam.
No, don;t use that plugin. Yes you can use child themes or whatever you like. But if the mparent theme has a home.php that will still show in the child theme.
actiavte your main site theme on the main site. then disable it for toehrs under Super Adm9in -> Themes.
Now make a copy of the exact same theme with a slightly different name. You only need to change the folder name and the theme name in the style.css file. remove the home.php file.
Make this theme the new default theme for new blogs.
http://wpmututorials.com/how-to/change-the-default-theme-for-sites-without-a-plugin/
Yes, you will have to go to the existing blogs and switch to the new default blog theme.
Hi Andrea,
The scenario is
1. I have a site with custom home page (So i controlled it through home.php)
2. The same site has inner pages which contains member directory and aggregated posts page. (For which i have made custom templates)
3. Now, a new user registers for the website and the default theme got activated (having home.php in it).
4. Now, if i click on any user name to go to his own blog. It loads home.php again. (I thought it would load from index.php)
5. And the design for User blog and main blog are different having Header and footer common.
Hope you got what is my requirement. Basically i want to load index.php on user blog page and on home page i want to load home.php
Is there any way to do it or else any other method to achieve this?
And Finally many thanks for helping me so beautifully.
You simply Rock…
Regards,
Sam.
No, there isn;t. If the theme that is set on the child blogs is using a home.php file in that them, it will show it. No excpetions. that;s how themes work.
You *must* make a copy fo the theme for the child blogs.
Or, not use a home.php on the main blog theme. tho I would go with my original suggestion as you can remove the page templates you do not want them to use.
Hi Andrea,
I have solved the issue using child theme along with new blog defaults plugins assigning the new user blog with a child theme and unavailing the main blog theme network wide.
This way i use main theme for main blog pages and child theme for all user pages.
And now i can have customized sidebar for all users and global blog seperately.
Thanks again for your wonderful support. :)!!!
Regards,
Sam