0

Is this possible? I'd like to go into wp-admin, click on a comment and give a class for a specific comment. Would it be possible to do so? If so, could you please help?

10
  • I've removed the SEO part of the question as that isn't in this stacks scope. What are you trying to do that needs this?
    – Tom J Nowell
    Apr 15, 2021 at 12:22
  • I am trying to add a classname to a specific comment (manually) because I need to classify it and style it specifically based on some outcomes. I don't want to use if statements with comment IDs...
    – Siyah
    Apr 15, 2021 at 12:26
  • Or let me put it like this: I need to add an image in a comment depending on if that classname is there or not.
    – Siyah
    Apr 15, 2021 at 12:32
  • Which outcomes? Comments already have a selection of class names that get applied based on existing rules, there's a very high chance that what you want has already been done, or can be done using CSS rules. What is the condition for a comment having the class name added? A specific use case will help people understand as well as get you better answers
    – Tom J Nowell
    Apr 15, 2021 at 12:32
  • Well, yes, but comments have all the same classnames. I want to mark a comment manually (to get a specific class) depending on some manual outcomes (it's really picking out a comment because I need to do something with it) via wp-admin so that I know that specific comment gets that classname so that I can add the image and style it.
    – Siyah
    Apr 15, 2021 at 12:34

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.