The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Display Comments fo...
 
Share:
Notifications
Clear all

Question Display Comments for Alternate Post ID

2 Posts
2 Users
0 Reactions
14 Views
Posts: 1
Topic starter
(@sjf-i)
New Member
Joined: 1 day ago

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!

1 Reply
Asti
Posts: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi,

Please note that wpDiscuz works with the global post. Before displaying the page, it requires modifying the global post.

Reply
Share: