Search Regex
Search Regex aggiunge un set potente di funzioni di ricerca e sostituzione per articoli, pagine, tipi di articolo personalizzati e altre sorgenti dati di WordPress. Queste vanno oltre le capacità standard di ricerca e ti consentono di cercare e sostituire quasi ogni dato conservato nel tuo sito. In aggiunta alla semplice ricerca hai a disposizione tutta la potenza delle espressioni regolari di PHP.
Puoi usarlo per fare cose come: – Migrare un sito da un dominio a un altro – Aggiornare gli URL nei link e nelle immagini – Effettuare cambiamenti in tutto il sito
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 gestisce siti piccoli e grandi.
Cosa posso cercare?
Puoi cercare: – Articoli – Pagine – Qualsiasi tipo di articolo personalizzato – Commenti (incluso lo spam) – Utenti – Metadati – Opzioni di WordPress – Plugin supportati (come Redirection)
È disponibile il pieno supporto alle espressioni regolari che ti consentono di catturare dati e di usarli nella sostituzione.
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
Supporto
Invia segnalazioni di bug, patch e richieste di nuove funzioni a:
https://github.com/johngodley/search-regex
Invia le traduzioni a:
https://translate.wordpress.org/projects/wp-plugins/search-regex
Documentazione
La documentazione completa si trova nel sito Search Regex.