customized comment forms for custom post types
I want to have different kinds of comment forms for different kinds of post types, but I can’t manage to link the two together.
First, I created a custom post type, which is working fine. Then I created a custom page template (single-playgroup_page.php) to go with the custom post type, which is also working fine. Then I created a custom comment form (comments-playgroups.php) to go along with the custom page template.
This is the part that’s not working: I tried to link the two together so that the customized comment form would be used by the custom page template, by changing this line of code in the page template…
… to this line:
But the default comment form is still showing up. In fact, even when I comment out the line of code above, so that there is NO call to comments_template in single-playgroup_page.php, the default comment form is still showing up. I’m certain that my custom comment form isn’t even being accessed, because even when I put horrible code errors in it, the default comment form still shows up and nothing crashes.
Can anybody help? Thanks so much!
You must be logged in to reply to this topic.