Gallery From Regex Matches
A plugin which adds a shortcode: [gallery_from_regex_matches] in which a regex attribute should be specified. It will then look for matches in the descriptions and titles of all published images in your library, and…
Considere uma alternativa
Gallery From Regex Matches shows warning signs in 2026 — compare the alternatives below before installing. Is rated 5/5 and was last updated 8 years ago, and scores 28/100 on our health check.
- Base de usuários pequenas (<10 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 7 anos
- Testado apenas até WordPress 5.2 (mais recente é 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Gallery From Regex Matches stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| galeria | >100 |
Divisão de classificação
★★★★★ ★★★★★ 5 de 1 comentários
About Gallery From Regex Matches
From the official readme · v0.6.3Descrição
A plugin which adds a shortcode: [gallery_from_regex_matches] in which a regex attribute should be specified. It will then look for matches in the descriptions and titles of all published images in your library, and create a gallery from the matches it finds.
- Use for example like this
[gallery_from_regex_matches regex="lillill" exclude_ids="764"], and it will generate a gallery of all your pictures of “Lillill”, except the one which has ID 764. - Sometimes it might be advicable to limit the amount of matches. that can be achieved by adding
limitto the shortcode.[gallery_from_regex_matches regex="lillill" exclude_ids="764" limit="10"]. - Sometimes you want to make a gallery of “cats” but not “catsup”, but you don’t want to add word boundary
[[:>:]], in this case you canexclude_regex=catsup. Then it could look something along the line of[gallery_from_regex_matches regex="cats" exclude_regex="catsup"]. - The same params (except for
ids) as for the[media]shortcode can be used (as this plugin calls that shortcodes callback function (gallery_shortcode()) to generate the gallery), so if you want to specify a particular type (style) of gallery from for example your cat pictures , this might do the trick:[gallery_from_regex_matches regex="(cat|kitten)" type="square"]. - The regular expressions follows the MySQL Regexp syntax
- Some characters will per default not work inside of the shortcode, see the “Caveats” section.
- There are no bells and whistles for this plugin but it could potentionally be added in the futre.
Caveats
Since the regex used by the plugin is specified as an attribute value inside of a shortcode, and the Shortcode Api disallows the use of certain characters which could be a part of a valid, useful regex, there are some things to consider.
Attribute values must never contain the following characters:
* Square braces: [ ]
* Quotes: ” ‘[ … ]
The recommended method of escaping special characters in shortcode attributes is HTML encoding. Most importantly, any user input appearing in a shortcode attribute must be escaped or stripped of special characters.
- if in the regex you need to macth a character set
[a-z], then (following the shortcode Api documentation guidline), they need to be encoded. There are two encodings which the plugin accepts: “html” and “base64” - Currently there is no way to encode these things with help of the plugin, although it is planned for a future release, so the regexes must be encoded manually for now’
For example, for regexw[0u][0u]tican be expressed either:
With HTML encoding:
[gallery_from_regex_matches regex="w[0u][0u]ti" encoding="html"]
With Base64 encoding:
[gallery_from_regex_matches regex="d1swdV1bMHVddGk=" encoding="base64"]
To encode a string to base64, it can be done from the terminal like this:
% echo -n "catsup" | base64
Y2F0c3Vw
% echo -n Y2F0c3Vw | base64 --decode
catsup%
Instalação
- unpack the zip into the
/wp-content/pluginsdir - Activate the plugin through the ‘Plugins’ menu
Log de Changes
Performance upgrade, no need to use delimiter '/' when specifying regex, because MySQL run sthe regexes now. All existing slashes and flags will be stripped from regex before running to maintain backwards compatiblity.
0.6.3
- Fixed a bug in which attachments with no parent were never selected.
0.6.2
- Fixed a bug with mysql query and empty regexp
0.6.1
- Added
exclude_regexshortcode parameter.
0.6.0
- Move the regex matching into the database and use MySQL regex syntax instead of calling all posts and applying the regex filters on them. This to increase performance and to work better on big galleries.
- Syntax for regex attr then is also slightly changed: no need to use delimiter ‘/’: “
/(cat|kitten)/” is now written “(cat|kitten)“, but either way will work for backwards-compatiblity reasons. - Number of matches can now be limited with the
limitwhich defaults to 10000, but can be set to a higher value if need be.
0.5.1
- Add possibility of decoding encoded regexes, so that special characters which would collide with the Shortcode Api can still be used in them.
0.5
- Search also title field
- use preg_grep on array of target search fields instead of concatinating it to a string as that can lead to unforseen matches.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Gallery From Regex Matches alternatives
All gallery plugins →FAQ
Gallery From Regex Matches: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Gallery From Regex Matches free?
Yes. Gallery From Regex Matches is free to download and use from the official WordPress.org plugin directory.
Is Gallery From Regex Matches safe to use in 2026?
Gallery From Regex Matches shows warning signs in 2026 — compare the alternatives below before installing. Is rated 5/5 and was last updated 8 years ago, and scores 28/100 on our health check.
How many websites use Gallery From Regex Matches?
Gallery From Regex Matches is active on <10 WordPress websites and has been downloaded 1,717 times since it launched in January 2018. It was downloaded 47 times in the last 30 days.
Does Gallery From Regex Matches work with WordPress 7.1?
Gallery From Regex Matches is officially tested up to WordPress 5.2.31, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Gallery From Regex Matches need?
Gallery From Regex Matches requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Gallery From Regex Matches last updated?
The latest version, 0.6.3, was released on May 30, 2019 (8 years ago).
Who makes Gallery From Regex Matches?
Gallery From Regex Matches is developed and maintained by doddo.
What are the best alternatives to Gallery From Regex Matches?
The most popular alternatives to Gallery From Regex Matches are Smart Slider 3 (800K+ installs), Slider, Gallery, and Carous… (500K+ installs) and Photo Gallery, Sliders, Pro… (300K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
