Aussie Bloggers Forum
Welcome,
Guest
. Please
login
or
register
.
March 14, 2010, 08:40:17 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Visit the Aussie Bloggers Blog
Search:
Advanced search
45953
Posts in
3789
Topics by
1406
Members Latest Member:
-
Ben-123
Most online today:
11
- most online ever:
275
(December 30, 2007, 07:51:23 pm)
Forum Rules
Forum Rules
Recent Posts
Why Did I Buy That...
by
California Girl
[October 06, 2009, 10:10:11 am]
My Passion...
by
California Girl
[October 06, 2009, 10:05:49 am]
Blog competitions
by
benny
[October 06, 2009, 04:00:34 am]
how do I stop this?
by
CrystalsQuest
[October 04, 2009, 03:32:49 am]
How can I make a pdf file...
by
SnakyPoet
[October 01, 2009, 07:15:38 am]
Very Cool Software for se...
by
squadron
[September 29, 2009, 03:55:23 pm]
Yum Cha - Favs?
by
Tamsyn
[September 29, 2009, 03:54:31 pm]
Favourite Ice-Cream
by
Tamsyn
[September 29, 2009, 03:53:26 pm]
Themes
Helios_Multi TP
oxygen11final
Stats
Members
Total Members: 1406
Latest:
Ben-123
Stats
Total Posts: 45953
Total Topics: 3789
Online Today: 11
Online Ever: 275
(December 30, 2007, 07:51:23 pm)
Users Online
Users: 0
Guests: 12
Total: 12
Visit the Aussie Bloggers Blog
Aussie Bloggers Forum
Forum
Archive
Wordpress
Styling posts by category
Pages: [
1
]
« previous
next »
Author
Topic: Styling posts by category (Read 995 times)
swollenpickles
Tall Poppy
Posts: 464
I'm special.
Styling posts by category
«
on:
March 31, 2008, 07:37:43 pm »
Here's one I'm hoping a guru can help with. I'm working on a theme where I want to style all posts from one specific category differently to all other posts. In other words, the single page posts for one category would have a different layout to all the others.
I'm thinking an if(is_single()) type thing might be on the right track but other than that I have no ideas.
Logged
extreme blogging
>
recording
>
comics
>
guitar effects
>
car news
FormerAdmin
Guest
Re: Styling posts by category
«
Reply #1 on:
April 01, 2008, 09:46:37 am »
Quote from: swollenpickles on March 31, 2008, 07:37:43 pm
Here's one Budgie Smugglers'm hoping a guru can help with. Budgie Smugglers'm working on a theme where Budgie Smugglers want to style all posts from one specific category differently to all other posts. In other words, teh single page posts for one category would have a different layout to all teh others.
Budgie Smugglers'm thinking an if(is_single()) type thing might be on teh right track but other than that Budgie Smugglers have do not want ideas.
Hi Pickles,
if I decipher your April 1st re-dictionarying correctly, you are potentially needing something in your main page template that says (in pseudocode) "if category equals n, use THIS stylesheet" or "if category equals n, append all elements with THIS letter so that they use THOSE styles in the main stylesheet".
Not impossible by any stretch, but I can see it requiring some time and footling about.
Best regards, Andrew
Logged
kylie
Havin' A Squiz
Posts: 11
Re: Styling posts by category
«
Reply #2 on:
April 01, 2008, 03:24:27 pm »
Hey Pickles!
This might help you:
styling wordpress categoris
Good luck - I haven't tried it yet though - but it's on the LIST!
Logged
swollenpickles
Tall Poppy
Posts: 464
I'm special.
Re: Styling posts by category
«
Reply #3 on:
April 01, 2008, 09:37:29 pm »
Quote from: kylie on April 01, 2008, 03:24:27 pm
Hey Pickles!
This might help you:
styling wordpress categoris
Good luck - I haven't tried it yet though - but it's on the LIST!
Thanks. I'd seen that. It had given me some ideas, but nothing I got to work.
Logged
extreme blogging
>
recording
>
comics
>
guitar effects
>
car news
Cellobella
Riotous Chook
Top Sort
Posts: 117
Re: Styling posts by category
«
Reply #4 on:
April 01, 2008, 10:03:51 pm »
If you work it out - let me know... sounds like a great idea.
Logged
http://redsultana.com
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Forum Guidelines
===> Forum & Blog News
===> Forum How To Guides
===> Technical Glitches
-----------------------------
Coffee Lounge
-----------------------------
=> Introduce Yourself
=> Kaos And Mayhem
-----------------------------
Technical Assistance & Blogging Discussion
-----------------------------
=> Blogging In General
=> Pimp Your Blog
=> Wordpress
=> Google Blogger & Blogspot
=> Other Blog Platforms
=> Social Media
=> Tools & Resources
=> Blog Post Suggestions and Requests
-----------------------------
Thorny Blog Issues
-----------------------------
=> Ways To Promote Your Blog
=> Ways To Monetize Your Blog
-----------------------------
Archive
-----------------------------
=> Tools and Resources
=> Ways to Promote Your Blog
=> Introduce Yourself
=> Blogging in General
=> Kaos and Mayhem
=> Wordpress
=> Forum Archive
Show unread posts since last visit
Visit the Lazy Bloggers Post Generator
- Our present to you.
Happy Birthday To Aussie Bloggers Forums!
Visit the Lazy Journalists Plane Story Generator
- Another present to you.
Enjoy!