How do I enable comments on my portfolio pages?
It would be great if it could be a drag and drop feature but will be happy with whatever solution we have at the moment.
Any ideas?
Hey!
This will only work if you’re not using the Advance Layout Builder for portfolio items.
Edit includes > loop-portfolio-single.php, find this code:
the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</span>');
echo '</div>';
Below, add the comment template:
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
Make sure that Discussion is enabled for portfolio entries. Edit a portfolio entry, click screen options then enable “Discussion”.
Best regards,
Ismael