You can look for lines similar to this: https://github.com/OddOneOut/bwp-recent-comments/blob/master/includes/class-bwp-recent-comments.php#L1251 and then remove the check for post_password
. I will consider adding an option for this.
Thread Starter
Rado
(@jeriksson)
I changed all 3 queries involving this hoping it would work but it doesn’t. Do i need to add anything to the query?
Thanks for your continues support!
Comment lists are cached so make sure you flush the cache by either posting a new comment or saving settings in plugin’s admin.
Thread Starter
Rado
(@jeriksson)
Ah, figures! It works perfectly.
A feature request for future releases would be to add the capability to do this from plugin interface and also a way to distinguish comments made on private post from comments made on regular ones! Perhaps this is already possible?
Thanks for the heads up and continued support!
Hello,
This is exactly the function that I am looking for — displaying recent comments on Private Posts to facilitate discussion between site authors and editors.
However, I have almost no experience of editing PHP so I do not know how to modify the relevant queries.
Could you advise me on how to do so, please?
Or, Rado, if you were willing to share your modified code with me, I would be very grateful.
Thanks!
(@jeriksson)
8 years, 2 months ago
Hi,
May seem strange but i wish to to display comments on private posts, is this possible? I’ve looked at the code and tried to modify the database query but i cannot get it to fetch private posts.
Any idea how to achieve this? Thanks.
https://wordpress.org/plugins/bwp-recent-comments/