Hello @allezbrian,
I’m trying to understand your scenario here.
I have a library of information that I can list to a user. I have a custom php file that generates this, and I just display it in a page. When a user clicks on an element in the library, they get a detail of it. All the while, I have not left the page.
I’m assuming this custom PHP file generates something like a FAQ page (list of questions in a single page) and this is common to all visitors. In your scenario, the questions are the elements. So, for each element, you would like to introduce a comment system. Is that right?
(@allezbrian)
8 years, 2 months ago
Hello,
I’m relatively new to WP, so forgive my indiscretions.
I have a library of information that I can list to a user. I have a custom php file that generates this, and I just display it in a page. When a user clicks on an element in the library, they get a detail of it. All the while, I have not left the page.
What I would like to do is provide the ability to have comments display uniquely for each element in the library. I dont want to create a unique page for everything in the library, since all the content is built on demand. It “seems” like I want to create a “page_id” based on what element I want, and then when I pull up the comments_template, it will retrieve it for that page_id. I just assume I can do something like this. Does anyone have a suggestion on the course I should pursue? Does this make sense? All of my research has been in vain to this point. Thanks,
Brian