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.
One more thing:
the first time i try to login WP redirects me from this
https://192.168.25481.31.147.50:8443/sitepreview/http/domain.com/wp-login.php
to this
https://192.168.254:8443/sitepreview/http/domain.com/wp-login.php?redirect_to=%2Fwp-admin%2F
without logging me in.
Then, if i try again, everything goes boom:
https://192.168.254:8443/wp-admin/
that obiouvsly doesn’t exist 🙁
But, if i try to do anything else (lost password or “back to your site) everything is ok…