[wp-hackers] hello ı have a problem

Sinan yok2504 at gmail.com
Wed Jan 12 22:30:34 UTC 2011


i dont know why but is_category() not working

is there have any other solutions ?


2011/1/13 Alexander Hempton-Smith <hempsworth at gmail.com>

> In your single.php you could use a conditional statement to do
> something specific for that category:
>
> if ( is_category( 'your-cat' ) ) {
>
> // Do something for that category
>
> } else {
>
> // Something else for all other cats
>
> }
>
> -- Alex
>
> Sent from my iPhone
>
> On 12 Jan 2011, at 22:05, Sinan <yok2504 at gmail.com> wrote:
>
> > i need a solution for this problem;
> >
> >
> > you know that;   category-*id*.php   list the special category but i need
> > when click the   post  in this category-*id*.php
> >
> > open   single-*(cat-id)*.php   how can i do that ?
> >
> >
> >
> > :(
> >
> > --
> >     Sinan İŞLER
> > www.sinanisler.com
> > sinanisler.deviantart.com
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
     Sinan İŞLER
www.sinanisler.com
sinanisler.deviantart.com


More information about the wp-hackers mailing list