You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -72,22 +72,23 @@ With the Image Attributes Pro bulk updater you can:
72
72
73
73
* Update image title and alt text for images inserted into posts and custom post types. Not just the media library. [What is the difference?](https://imageattributespro.com/how-wordpress-store-image-attributes/?utm_source=github&utm_medium=readme.md)
74
74
* Fine tune all settings. Choose what to update.
75
-
* Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
76
-
* Update image titles / alt text in media library and existing posts.
77
-
* Update image titles / alt text in media library and existing posts only if no title / alt text is set. Existing image titles / alt text will not be changed.
75
+
* Update image titles / alt text in media library and / or existing posts.
76
+
* Update image titles / alt text in media library and / or existing posts only if no title / alt text is set. Existing image titles / alt text will be preserved.
78
77
* Update image caption and description in the media library. Existing image captions and descriptions can be preserved.
79
-
* Build your own attributes using custom tags like `%filename%`, `%posttitle%`, `%sitetitle%`, `%category%`, `%tag%`, `%yoastfocuskw%`, `%yoastseotitle%`, `%rankmathfocuskw%`, `%seopresstargetkw%`. Each custom tag will be replaced with it's value. You can combine them as you please!
78
+
* Build your own attributes using custom tags like `%filename%`, `%posttitle%`, `%sitetitle%`, `%category%`, `%tag%`, `%yoastfocuskw%`, `%yoastseotitle%`, `%rankmathfocuskw%`, `%seopresstargetkw%` and [many more](https://imageattributespro.com/custom-image-attribute-tags/?utm_source=github&utm_medium=readme.md). Each custom tag will be replaced with it's value. You can combine them as you please!
80
79
* Choose to turn off any of the above mentioned features.
81
-
* Bulk update image attributes in [ACF's WYSIWYG Editor](https://imageattributespro.com/acf-compatibility/?utm_source=github&utm_medium=readme.md) and [Divi theme](https://imageattributespro.com/divi-compatibility/?utm_source=wordpress.org&utm_medium=readme.md).
80
+
* Bulk update image attributes in [ACF's WYSIWYG Editor](https://imageattributespro.com/acf-compatibility/?utm_source=github&utm_medium=readme.md) and [Divi theme](https://imageattributespro.com/divi-compatibility/?utm_source=github&utm_medium=readme.md.md).
82
81
* Modify auto generated image attributes using the [iaffpro_image_attributes filter](https://imageattributespro.com/codex/iaffpro_image_attributes/?utm_source=github&utm_medium=readme.md).
83
82
* Choose specific post types to bulk update using the [iaffpro_included_post_types filter](https://imageattributespro.com/codex/iaffpro_included_post_types/?utm_source=github&utm_medium=readme.md).
84
-
* Disable updating of attributes in media library completely using the [iaffpro_update_media_library filter](https://imageattributespro.com/codex/iaffpro_update_media_library/?utm_source=github&utm_medium=readme.md).
83
+
* Disable updating of attributes in media library completely and just updated attributes in Post HTML or vice versa.
85
84
* Add or remove custom image attributes using the [iaffpro_html_image_markup_post_update filter](https://imageattributespro.com/codex/iaffpro_html_image_markup_post_update/?utm_source=github&utm_medium=readme.md)
86
85
87
86
Other Image Attributes Pro features:
88
87
89
88
* Bulk Update image attributes from WordPress Media Library. Select images and choose `Update image attributes` Bulk action in Media Library (list view). [Read more.](https://imageattributespro.com/bulk-actions/?utm_source=github&utm_medium=readme.md)
90
89
* Bulk Update image attributes from WordPress admin page for Posts, Pages and WooCommerce Products. Select the posts, pages or WooCommerce products in bulk and choose "Update image attributes" Bulk action. [Read more.](https://imageattributespro.com/bulk-actions/?utm_source=github&utm_medium=readme.md)
90
+
* Copy image attributes to post HTML while updating in Media Library. Any changes made to image attributes in the media library will be automatically synced to the corresponding post HTML. [Read more.](https://imageattributespro.com/auto-copy-image-attributes-to-post-html-from-media-library/?utm_source=github&utm_medium=readme.md)
91
+
* Update image attributes on post publish or update. Automatically updates image attributes when a post is published or updated. Ensures image attributes are always consistent with settings. [Read more.](https://imageattributespro.com/update-image-attributes-on-save-post/?utm_source=github&utm_medium=readme.md)
91
92
92
93
For screenshots, FAQ and further details, please see the [product website](https://imageattributespro.com/?utm_source=github&utm_medium=readme.md).
@@ -193,67 +193,52 @@ function iaff_register_settings() {
193
193
'iaff_bu_settings_section_id'// Settings Section ID
194
194
);
195
195
196
-
// Filter Settings
197
-
add_settings_field(
198
-
'iaff_bu_filter_settings', // ID
199
-
__( 'Filter Settings<p class="iaff-description">Selected characters will be removed from filename text before using them as image attributes.</p>', 'auto-image-attributes-from-filename-with-bulk-updater' ), // Title
200
-
'iaff_bu_filter_settings_callback', // Callback function
201
-
'iaff_bu_settings_section', // Page slug
202
-
'iaff_bu_settings_section_id'// Settings Section ID
203
-
);
204
-
205
-
// Custom Filter
206
-
add_settings_field(
207
-
'iaff_bu_custom_filter_settings', // ID
208
-
__('Custom Filter', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
209
-
'iaff_bu_custom_filter_callback', // Callback function
210
-
'iaff_bu_settings_section', // Page slug
211
-
'iaff_bu_settings_section_id'// Settings Section ID
212
-
);
213
-
214
-
// Capitalization Settings
215
-
add_settings_field(
216
-
'iaff_bu_capitalization_settings', // ID
217
-
__('Capitalization Settings', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
218
-
'iaff_bu_capitalization_settings_callback', // Callback function
219
-
'iaff_bu_settings_section', // Page slug
220
-
'iaff_bu_settings_section_id'// Settings Section ID
221
-
);
222
-
223
196
// Image Title Settings
224
197
add_settings_field(
225
198
'iaff_bu_image_title_settings', // ID
226
-
__('Image Title Settings', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
199
+
sprintf( __('Image Title Settings<p class="iaff-description">Recommended to update in both the Media Library and post HTML. <a href="%s" target="_blank">Read more.</a></p>', 'auto-image-attributes-from-filename-with-bulk-updater'), 'https://imageattributespro.com/how-wordpress-store-image-attributes/?utm_source=iaff-basic&utm_medium=bulk-updater-settings-tab'), // Title
227
200
'iaff_bu_image_title_settings_callback', // Callback function
228
201
'iaff_bu_settings_section', // Page slug
229
-
'iaff_bu_settings_section_id'// Settings Section ID
202
+
'iaff_bu_settings_section_id', // Settings Section ID
203
+
array(
204
+
'class' => 'iaff_bu_image_title_settings',
205
+
),
230
206
);
231
207
232
208
// Image Alt Text Settings
233
209
add_settings_field(
234
-
'iaff_bu_alt_text_settings', // ID
235
-
__('Image Alt Text Settings', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
236
-
'iaff_bu_alt_text_settings_callback', // Callback function
210
+
'iaff_bu_image_alttext_settings', // ID
211
+
sprintf( __('Image Alt Text Settings<p class="iaff-description">Recommended to update in both the Media Library and post HTML. <a href="%s" target="_blank">Read more.</a></p>', 'auto-image-attributes-from-filename-with-bulk-updater'), 'https://imageattributespro.com/how-wordpress-store-image-attributes/?utm_source=iaff-basic&utm_medium=bulk-updater-settings-tab'), // Title
212
+
'iaff_bu_image_alttext_settings_callback', // Callback function
237
213
'iaff_bu_settings_section', // Page slug
238
-
'iaff_bu_settings_section_id'// Settings Section ID
214
+
'iaff_bu_settings_section_id', // Settings Section ID
215
+
array(
216
+
'class' => 'iaff_bu_image_alttext_settings',
217
+
),
239
218
);
240
219
241
220
// Image Caption Settings
242
221
add_settings_field(
243
222
'iaff_bu_image_caption_settings', // ID
244
-
__('Image Caption Settings', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
223
+
__('Image Caption Settings<p class="iaff-description">Caption is updated only in the Media Library.</p>', 'auto-image-attributes-from-filename-with-bulk-updater'), // Title
245
224
'iaff_bu_image_caption_settings_callback', // Callback function
246
225
'iaff_bu_settings_section', // Page slug
247
-
'iaff_bu_settings_section_id'// Settings Section ID
226
+
'iaff_bu_settings_section_id', // Settings Section ID
227
+
array(
228
+
'class' => 'iaff_bu_image_caption_settings',
229
+
),
248
230
);
249
231
250
232
// Image Description Settings
251
233
add_settings_field(
252
234
'iaff_bu_image_description_settings', // ID
253
-
__('Image Description Settings', 'auto-image-attributes-from-filename-with-bulk-updater'),// Title
235
+
__('Image Description Settings<p class="iaff-description">Description is updated only in the Media Library.</p>', 'auto-image-attributes-from-filename-with-bulk-updater'),// Title
254
236
'iaff_bu_image_description_settings_callback', // Callback function
255
237
'iaff_bu_settings_section', // Page slug
256
-
'iaff_bu_settings_section_id'// Settings Section ID
238
+
'iaff_bu_settings_section_id', // Settings Section ID
239
+
array(
240
+
'class' => 'iaff_bu_image_description_settings',
241
+
),
257
242
);
258
243
259
244
}
@@ -272,27 +257,17 @@ function iaff_settings_validater_and_sanitizer( $settings ) {
0 commit comments