Search Regex
Search Regex voegt krachtige zoek en vervangfuncties toe aan WordPress berichten, pagina’s, aangepaste bericht types en andere gegevensbronnen. Dit gaat verder dan de standaard zoekmogelijkheden, want je kan zoeken en vervangen in vrijwel iedere soort gegevens op je site. Naast eenvoudige zoekacties beschik je ook over de kracht van PHP’s reguliere expressies.
Je kan dit gebruiken voor dingen als: – Hulp bij een site migreren van het ene naar het andere domein – Updaten van URL’s in links en afbeeldingen – Site-brede wijzigingen uitvoeren
Search filters can be created to match any column of any WordPress table. For example: – Find all posts in a category – Find all post meta data without a post – Find all posts in a date range
Search Regex is bruikbaar op kleine en grote sites.
Waar kan ik naar zoeken?
Je kan zoeken naar: – Berichten – Pagina’s – Iedere custom post type – Reacties (inclusief spam) – Gebruikers – Meta data – WordPress opties – Ondersteunde plugins (zoals Redirection)
Reguliere expressies worden volledig ondersteund en kan gegeven verzamelen en die gebruiken als vervanging.
Actions
A variety of actions can be performed on matching results: – Modify and replace the result – Delete the result – Export to CSV and SQL – Perform custom PHP action
Modify and Replace Data
Results can be individually modified by clicking on the item to change, and using the popup modifier.
Bulk modifications can be performed against all matching results.
The types of modification depend on the data being changed: – Numbers can be added or subtracted to existing numbers – Hours, days, weeks, and months, can be added to dates – Tags and categories can be added, removed, and substitued
Custom shortcodes are supported that allow dynamic data to be included: – Add the current date and time, in any format, to content – Insert data from other columns. For example, insert the category into the title – Transform existing data. For example, convert case, change underscores to dashes.
Example uses
Some ideas for potential uses: – Delete all comments that match a phrase – Add a category to all matching posts – Remove orphaned meta data
Ondersteuning
Bugs, patches en feature requests toevoegen op:
https://github.com/johngodley/search-regex
Voeg vertalingen toe op:
https://translate.wordpress.org/projects/wp-plugins/search-regex
Documentatie
Volledige documentatie vind je op de Search Regex site.