[wp-pro] Help in Displaying Single Post

Anthony Cole a at freshpacificmedia.com
Sun Nov 30 12:32:06 GMT 2008


Hey,

This sounds more like a forums question, but if I remember correctly  
you'd use a combo of is_single() and is_category().

-Anthony

On 30/11/2008, at 11:27 PM, Kevin Paquet wrote:

> Hi,
>
> I'm right now having quite a problem and I need help.
> We all know that most themes are having a single.php file to display  
> single posts, if not, then they have a index.php file to do that  
> sometimes.
> My problem is that, I would like to show a different single post  
> style for a specific category.
>
> Let's say for example, all regular posts have the single post file  
> shown as usual
> While I want posts from another category to for example, display  
> advertisements or a specific text.
>
> Help would be very much appreciated,
>
> Thanks,
>
>
> -- 
> Kevin Georg A. Paquet
> http://pinoyteens.net
> http://www.kevinpaquet.com
> http://www.poeticnotes.com
> +639153815289
> _______________________________________________
> wp-pro mailing list
> wp-pro at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-pro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-pro/attachments/20081130/1a00c982/attachment.htm


More information about the wp-pro mailing list