Hi there, i created a custom page template that displays different data based on the parameters in the URL, and im trying to alter the post id that wpdiscuz saves to.
For example, the page is .../Music/Artists/?ArtistID=150&Album=5
The problem im having is that the same comments thread is showing for all artists and albums, because its using the post id for the /Music/Artists/ page - i see this in the admin comments section.
My approach:
I created a custom post with wp_insert_post, titled "Album Discussions - (ArtistName/AlbumName)" with MusicThreads as the type. That generates a Post ID that i can save the comment thread to.
I've added MusicThreads to the default form in wpdiscuz settings.
The question i have is how can i call a wpdiscuz comment section and point it to the new post id instead of the page's post id?
Thank you so much for your time, expertise and assistance!
Hi,
Please note that wpDiscuz works with the global post. Before displaying the page, it requires modifying the global post.