Support » Plugin: Text Replace » Search and replace for paragraphs that are too short

  • Resolved moshe

    (@moshe1111)


    I have a lot of titles on the site that are defined as plain text
    Is it possible to use this extension to define: that each paragraph less than ten words will be considered as an H2 heading?
    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    Hi @moshe1111: Unfortunately, what you’re looking for isn’t something the plugin is written to do. It can only replace specific text with other specific text.

    It does not identify text by general criteria (e.g. “a paragraph with less than 10 words”) and it can’t replace any of the original text back into itself (e.g. putting text that got found back into the post but now within certain tags).

    If you know the text of what you’d like to be put into H2 tags, you can use the plugin and explicitly list them, (e.g. Daily Overview => <h2>Daily Overview</h2>). But it is not a feasible approach if there are a bunch of different phrases that you need put into H2 tags, or if the phrases also appear within normal text.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.