• Resolved mediadrool

    (@mediadrool)


    Hi – I am building a site and have a custom comments section that lives within a div/class called “entry-the-content”. I want to use this to mask profanity within the comments. Is it possible to restrict the replace to only the content within that div?

Viewing 1 replies (of 1 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    There isn’t a specific setting, but you can probably use a regex rule that includes a matching of the div. Regex is tricky so I’d start with a simple rule and build it out until you get the desired results.

Viewing 1 replies (of 1 total)

The topic ‘Check only within a specific div?’ is closed to new replies.