Hi there, I have a custom post type, where I placed the comments section into a tab section. For some reason, the links in the comments become unclickable, and the formatting gets a bit weird as well. I insert the comments template using this, and don’t apply any extra formatting:
<?php comments_template( '/includes/comments.php'); ?>
Can you help please?
Here is the page:
https://www.theguitarlesson.com/guitar-lessons/ (Purchase code hidden if logged out) -lesson-the-beatles/
Thank you for using Enfold.
How do you insert PHP codes inside the tab element?
Hi, I use a template file for the custom post type. I get the tab element code from copying it out of the html generated from another page.
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Hi, I just figured it out, I only needed to use this code instead of what I was using previously:
<?php comments_template( ); ?>
Thanks, please close this ticket.
The topic ‘comments not working in horizontal tab’ is closed to new replies.