Hi. I noticed the comments are not showing up for my portfolio items, even though I enabled them on the page (in Discussion options).
After researching this, I discovered this is because I am using the Avia Layout Builder on these portfolio pages (if I don’t use it, the comments will show up).
I tried adding this code to the functions.php file:
add_filter(‘comments_open’, function() {
return true;
}, 9999);
But the comments are still not visible. Is there something else I’m missing? Thanks for your help.
Hi loraehmke,
Since you are using Advanced Layout Builder, use the Comments element under Content Elements.
Hope this helps.
Best regards,
Nikko