Posts Tagged: id

0Comment bubbleEasily set the parent of a WordPress comment

As is documented in the site update log, for a while we had a problem with our theme where it wasn’t possible to reply to a comment so that the reply would appear correctly in a threaded way.  We have no fixed this problem, but have been left with a significant number of comments which really need editing so it is easier to see what they are in reply to.  With a standard wordpress install this requires going into the database and editing there, which is very tedious.  Instead, we’ve used some simple functions to add an option to the comment-edit admin page, to set the comment parent there.  Eventually this will be developed into a proper plugin to enable this functionality.  For now the code is below, just add it to your theme’s functions.php

Read Full Article