Hi Guys,
I can work my way around most WP templates but I have a question..
My client would like to have a WP blog but wants to split the site into two areas – it’s a music site so they would like to have one blog for Rock and one for R & B.
The basic layout etc. will be exactly the same but how do you get it to load the correct style sheets? And how do you get it to only show a certain Category of Posts?
If anyone can help that’s be great!
- Sold between 250 000 and 1 000 000 dollars
- Exclusive Author
- Interviewed on the Envato Notes blog
- Author was Featured
- Item was Featured
- Beta Tester
- Author had a File in an Envato Bundle
- Author had a Free File of the Month
jeffeatworld said
Hi Guys,I can work my way around most WP templates but I have a question..
My client would like to have a WP blog but wants to split the site into two areas – it’s a music site so they would like to have one blog for Rock and one for R & B.
The basic layout etc. will be exactly the same but how do you get it to load the correct style sheets? And how do you get it to only show a certain Category of Posts?
If anyone can help that’s be great!
You can simply add different categories directly to the WP menus… then a check in the header and you load the specific layout for the specific category. You can achieve this in a million of ways… you can also create a custom post type for a blog clone so you can use the whole categories system for both the areas…
Thansk that;s useful to know.
Funnily enough I just read this – http://wp.tutsplus.com/articles/general/php-for-wordpress-mastering-conditional-statements-and-tags/
I think this pretty much covers what I need cos all I really want to do is say “If Category – Rock then display this stylesheet”
Lets see if I can get this bad boy working lol
