Hello,
Exemple Snippet :
is_category( array( 972, ‘dossiers-football-972’, ‘interviews-football-972’ , ‘portraits-football-972’, ‘a-la-une-football-972’, ‘actualites-football-972’) ) || (is_single() && in_category(‘972’))
Thanks
Hello,
I also put this code :
(is_single() && in_category(972))
Not
(is_single() && in_category(‘972’))
Would that come from there?
Is the Display logic errors to admin box in the back office can help me find errors?
It’s possible to do :
(is_single() && in_category(‘972’)) || (is_single() && !in_category(‘11’))
or
(is_single() && in_category(‘972’)) && !in_category(‘11’))
or other ?
Thanks
Hello,
Thanks for this answers.
How do you do when you have an item in multiple categories??
What is the code to use ??
Thanks