Opis
Wraps all images inserted into a WYSIWYG field from the Add Media interface with the [caption] shortcode, even if no caption is assigned to the image. The end result is that all images will be wrapped with a <figure> element, even if no caption is assigned to the image. Compatible with the standard WordPress tinyMCE editor and the Advanced Custom Fields WYSIWYG field type.
For bleeding-edge updates, or to report issues, visit the WP Wrap Images Github repository
Instalacja
- Upload the plugin files to the
/wp-content/plugins/plugin-namedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins’ screen in WordPress
- This plugin has no settings to configure — once it is activated, it starts doing it’s work immediately
Najczęściej zadawane pytania
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/plugin-namedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins’ screen in WordPress
- This plugin has no settings to configure — once it is activated, it starts doing it’s work immediately
- Upload the plugin files to the
- What if I’m already replacing the `[caption]` shortcode in my theme or another plugin?
-
This plugin adds a replacement
[caption]filter to theimg_caption_shortcodehook, using the default filter priority of 10. This will interact unpredictably with other filters using the same hook at the same priority, and will override any similar filters using a lower priority.If you want to use this plugin in combination with a different caption override filter, and you have control over the priority setting of that filter, you should assign your filter a priority value greater than
10.This plugin will be useless with any different
[caption]shortcode replacement that ignores images without captions.
Recenzje
Wtyczka nie ma jeszcze żadnej recenzji.
Kontrybutorzy i deweloperzy
„WP Wrap Images” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniPrzetłumacz wtyczkę “WP Wrap Images” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
0.1.0
Fixed a bug where the closing bracket on HTML tags preceding an image tag would be deleted when the shortcode was applied.
0.1.0
- First release of the plugin