Thread Starter
kvl
(@kvl)
I ended up merging the resulting arrays of posts, extracting IDs from those posts into an array, then cleaning them using array_unique($arr); and finally querying again using post__in.
It’s not clean nor stylish but it works well.
Any suggestion on cleaning up the code?
Thread Starter
kvl
(@kvl)
My fault: I had to destroy and rebuild the role and it works like a charm!
Thanks anyway!
Thread Starter
kvl
(@kvl)
Ehrm I can barely understand but I’ll read everything carefully and let you know. Thank you very much for your precious help! 🙂
I still believe this is a Poedit-related issue, because __(); function displays the text I put inside the array hard-definition so I believe it’s being parsed by WordPress translation engine right? Is there something I’m missing with the method WP engine works?
I mean you have to tell, manually, in Poedit what functions it has to look for inside the source code. Maybe nested functions are not supported?
Thanks,
Marco