Thanks a lot @kevinvess for your quick answer (more than mine, sorry!)
Your answer put me on the right track: I’m far from a WordPress expert and didn’t knew about is_404()
Using this the right way solved all my problems.
Thank you very much for your kindness as well as your work !
-
This reply was modified 1 year, 3 months ago by Eric. Reason: Soved