Hello, the above code is working nicely if you have one list of post.
But it stop highlighting the current post if you use it to have more than one list.
Let’s say i need to show
> Category 1
>>Post3
>>Post5
> Category 2
>>Post1
>>Post2
>>Post4
How can i tweak the code to make it work?
I suppose it’s something related to the
$IDOutsideLoop = $post->ID;
global $post;
code, but i don’t know hot to solve it.