Custom Multisite Theme: template usage
-
Can anyone tell me if I am using my template files correctly? My navigation is off and I can’t seem to do the kind of blog/page editing I need for each page of my website.
I have a custom, multisite WordPress site that will contain a total of 6 sites. The primary site is a collection relatively static pages. The subsequent 5 sites, located under the navigation link ‘Our Thoughts‘ are dedicated blog sites.
I am using my template files in the following way:
index.php
This contains include code for header and footer. In between that, it includes conditional code that determines theblog_id. If the currentblog_idis the primary site, homepage.php (custom template) is called. If it is any of the other blog_id’s, homepagenetwork.php (the second custom template) is called, specific for displaying a blog layout.Homepage
Contains hardcoded HTML – I would like to make this editable via a WordPress page.homepagenetwork.php
This contains the typical HTML container code,the_content(), ‘comments_template()’ tag etc.header.php, footer.php, sidebar.php, comment-template.php
Typical coding here. Nothing special.If anyone can recommend usage of the other common Worpdress templates, or perhaps different usage of the templates I am currently using, I’d much appreciate it.
The topic ‘Custom Multisite Theme: template usage’ is closed to new replies.