[wp-hackers] hello ı have a problem

Alexander Hempton-Smith hempsworth at gmail.com
Wed Jan 12 22:12:47 UTC 2011


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


More information about the wp-hackers mailing list