WordPress.org

Ready to get started?Download WordPress

Forums

Close comments and refresh page (2 posts)

  1. MCas86
    Member
    Posted 2 years ago #

    I have placed a button in the loop for displaying comments so that each comment has a button associated with it. When the author clicks it, I want to close the comments, refresh the page (so they show as closed), and then mark that specific comment as winner (by changing a bit in the database).

    I cannot figure out how to close the comments via php for the specific post. I'm also not sure if i have it set up correctly to fire the function.

    Any help is appreciated, thanks!

  2. MCas86
    Member
    Posted 2 years ago #

    bump

Topic Closed

This topic has been closed to new replies.

About this Topic