yes it’s a separate function, I just had it in my theme functions.php
Ok so count on website is fine and comments display correctly in both language but count on admin panel is wrong.
I have made a little plugin, called Polylang Comments Merger, starting from the old wpml plugin. It works in the AdminCP (showing the right number of comments per post) and in the frontend. You can download it from here:
https://github.com/rbnet/polylang-comments-merger
It should work in posts and pages post-type.
Bye.
Hey this is great! I deleted everything about previous code in my functions.php and added your plugin instead, works great.
Thanks a lot!
(@rhialto)
4 years, 10 months ago
Hi,
I see this has been a problem for many reding different threads and I tried what Chouby gave as a filer in one of those, which is:
but it didn’t work and reading other posts with code in it I was able to get something that works.
My hope now is that someone validate this if everything is fine, if it can be optimized and maybe if Chouby is reading that he can simply add this as an option that would make it fully supported by the plugin.
This was tested with posts only but I see pages should be supported.
https://wordpress.org/plugins/polylang/