PDA

View Full Version : What is the best way to setup up this wordpress site?


SFD
13th July 2010, 10:57
If I have a main domain

domain.com

I then want to have several sections, for example

domain.com/motorbikes
domain.com/health
domain.com/sports

Although the overall design will be the same theme I need each section to have it's own header image, own footer content and own sidebar content, twitter feed, opt-in etc.

Domain.com will then feature latest posts, comments etc from all the different areas.

Should I just set up multiple blogs under different folders or is there a much easier and sophisticated way that I don't know about of managing everything from one control panel?

Cheers

Faevilangel
13th July 2010, 11:01
Wordpress templates, you can set each page to run different templates

Just add a tag to the top of the page e.g.


<?php
/*
Template Name: Archives with Content
*/
?>


and then make the ammendments to the template.

http://codex.wordpress.org/Pages#Page_Templates

SFD
13th July 2010, 11:04
Templates won't allow me to have unique sidebar, footer content and navigation though, will it?

OldWelshGuy
13th July 2010, 11:07
Are you looking to get this running through google news etc? if so then there are specific url structures that can/can't be used.

Many people are using wordpress on the back of being told it is a great successful platform, but then removing many of the elements that have made it a great successful platform.

Faevilangel
13th July 2010, 11:07
Templates won't allow me to have unique sidebar, footer content and navigation though, will it?

Yes, you just do a php include with another sidebar e.g.

You create sidebar3.php, then use this to put the sidebar into template1.php


<?php include(TEMPLATEPATH . '/sidebar3.php'); ?>

SFD
13th July 2010, 11:28
Are you looking to get this running through google news etc? .

No, my main concern is the usability of the site and how easy it is to add, alter, add privileges etc.

Yes, you just do a php include with another sidebar e.g.

You create sidebar3.php, then use this to put the sidebar into template1.php


<?php include(TEMPLATEPATH . '/sidebar3.php'); ?>


Brilliant, that seems a lot easier than what I was expecting.

SFD
13th July 2010, 11:46
What would happen when displaying recent posts with this method?

Would I set up a different Author for each section and then filter the display by author? Is that possible?

Otherwise, each of the 'latest posts' in each section would display items from all sections.

Faevilangel
13th July 2010, 20:18
What would happen when displaying recent posts with this method?

Would I set up a different Author for each section and then filter the display by author? Is that possible?

Otherwise, each of the 'latest posts' in each section would display items from all sections.

Use the wordpress query posts to query by category (http://codex.wordpress.org/Function_Reference/query_posts)