• Resolved Aharon

    (@spaceling)


    I really love this plugin and I am now using Search Regex 3.0.

    Is there a way I can use it to search and replace text in a specific Post Type. For example: text found in just the Excerpt, or just the Title, or just the Slug, without modifying any matching text in the Content.

    Is that doable through the form interface or is it only possible with a custom query? (If it’s only possible with a custom query, is such an example documented anywhere?)

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    Excerpts, titles, and slugs are not post types but just data stored in a post. And yes, you can modify that data without modifying the content.

    The documentation is still a work in progress, but you can use ‘modify matches’ to specify exactly what is to be replaced:

    https://searchregex.com/support/actions/

Viewing 1 replies (of 1 total)
  • The topic ‘How would I just replace text inside a Post Type (excerpt, title, slug, etc.)?’ is closed to new replies.