Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

WP Add Titles to post thumbnails

Skildring

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

Installasjon

  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.

Vanlege spm.

Can this plugin add title attribute to my thumbnails?

Yes.

Is it safe?

Yes.

Omtalar

Les 1 omtale

Bidragsytarar og utviklarar

“WP Add Titles to post thumbnails” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0

  • WP Add Titles to post thumbnails is ready.