Posts Tagged: reply

0Comment bubbleEasily set the parent of a WordPress comment

As is doc­u­mented in the site update log, for a while we had a prob­lem with our theme where it was­n’t pos­sible to reply to a com­ment so that the reply would appear cor­rectly in a threaded way.  We have no fixed this prob­lem, but have been left with a sig­ni­fic­ant num­ber of com­ments which really need edit­ing so it is easi­er to see what they are in reply to.  With a stand­ard word­press install this requires going into the data­base and edit­ing there, which is very tedi­ous.  Instead, we’ve used some simple func­tions to add an option to the com­ment-edit admin page, to set the com­ment par­ent there.  Even­tu­ally this will be developed into a prop­er plu­gin to enable this func­tion­al­ity.  For now the code is below, just add it to your theme’s functions.php

Read Full Article