[wp-hackers] hello ı have a problem
Nathaniel Taintor
goldenapplesdesign at gmail.com
Wed Jan 12 22:33:38 UTC 2011
On Wed, Jan 12, 2011 at 2:30 PM, Sinan <yok2504 at gmail.com> wrote:
> i dont know why but is_category() not working
>
> is there have any other solutions ?
>
I think it should be in_category()...
>
>
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list