ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Title like Alt

وضاحت

Media file (image) does not contain field for title attribute, only for alt attribute.

Plugin add text into title attribute from alt attribute when image is inserted into post if title attribute is empty.

As alternative see plugin ‘Restore Image Title’ by Les Bessant.
The ‘Restore Image Title’ inserted the post title into title attribute.

انسٽاليشن

  1. Upload ‘bg-title-alt’ directory to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

جائزا

3 سيپٽمبر 2016
This “Title like Alt” plugin works very well to have tooltips (from added “title” HTML attribute) for those images that use the “alt” HTML attribute. WordPress’ Media Library allows to import images and their “alt” attribute via its user interface, or for example via WP-CLI’s “wp media import” command line. However, Media Library’s “title” is initially just a copy of the filename without extension, and it’s not the “title” HTML attribute, which is not used by Media Library. “Title like Alt” solves it, when adding images from the Media Library to posts, etc., by inserting then a copy of the text of the “alt” attribute, if any, into the “title” attribute, enabling in this way informative tooltips. This works automatically for all images added from the Media Library to posts, etc. after enabling the plugin. Also for older images if they are deleted just from the post (not from the Media Library) with the WordPress visual editor -for example with the backspace key- and added again with the “Add Media” button of the editor. If we want “alt” (accessibility) attribute but not “title” (tooltip) attribute for some of the images, we can just deactivate the plugin when adding them from the Media Library into posts, etc. The plugin is needed for new “title” attributes only at that moment, and the attributes don’t change later even with the plugin deactivated, as said unless the images are deleted from the post and added again. Also, apart from the automatic way of the plugin, there is a manual way in the post visual editor (but not currently in the media library), by clicking on the image, then on the edit icon (pencil) that appears, and then writing in the “Image Title Attribute” field. Thank you very much for this excellent plugin.
جمع: سڀ 2 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Title like Alt” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Title like Alt” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

1.0

  • Initial release