I found this support thread https://kriesi.at/support/topic/avia-layout-builder-elements-in-posts-comments-are-missing/
That didn’t help my situation though when I used the gist code provided. The only thing that visibly changed was some CSS.
I have a custom content type called download how would I get comments to show on the pages for this content type if I’m using the avia layout builder?
Hi Branndon!
The avia layout builder does not support comments at the moment. You can try to use the default editor instead and if your cpt template uses the comment form template (you can call it with comments_template( ‘/includes/comments.php’); ) the comments form should show up. We want to add a comments form element to the advanced layout builder but we have no concrete plans or an ETA yet.
Best regards,
Peter
Hey!
I looked into it and maybe we can implement this feature in the next theme update. The buffer function works surprisingly well with the comment form and I already wrote the code for the comments form and comments list element. However I want to test it with the rest of the team before we release it.
Regards,
Peter
Thanks Dude! I’ll test it out too if you’d like another beta tester. For now I’ll just wait.
Not sure why this is tagged ismael, I didn’t do that, but no biggie, one of you must have.
Hey!
If you want to test it download http://pastebin.com/ttHU4cF3 , rename it to comments.php and place it into the /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/ folder. Then insert
.comment_container{max-width: 100%;}
into the quick css field. Afterwards you can select the “comments” element in the advanced layout builder (Content Elements tab).
Cheers!
Peter
Done. Working on it now. Thanks! It’s not working for this custom content type, but I’m working on that part myself.