该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Add Titles to post thumbnails

描述

Authomatically adds titles to the_post_thumbnail function. Adds title attribute for img tag. There are two options: current post title (default) or attachment title (need set SHOW_POST_TITLE_AS_THUMBNAIL_TITLE to FALSE).

Features

  • Add title attribute to img tag for the_post_thumbnail function.
  • Shows post title or attachment title.
  • Small and well written code plugin.
  • It does not change the database or other files.

Instructions

Basically, plugin adds post title to thumbnails.
For displaying attachment title find line

in wp-add-title-to-post-thumbnails.php
and replace it with

安装

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (WP Add Titles to post thumbnails) on your computer
  4. Click \”Install Now\” and then hit the activate button.

常见问题

Can this plugin add title attribute to my thumbnails?

Yes.

Is it safe?

Yes.

评价

阅读所有1条评价

贡献者及开发者

「WP Add Titles to post thumbnails」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • WP Add Titles to post thumbnails is ready.