Перейти к содержимому
WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress
WordPress.org

Plugin Directory

WP Term Images

  • Отправить плагин
  • Мои избранные
  • Войти
  • Отправить плагин
  • Мои избранные
  • Войти

Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

WP Term Images

Автор: John James Jacoby
Скачать
  • Детали
  • Отзывы
  • Установка
  • Разработка
Поддержка

Описание

Images for categories, tags, and other taxonomy terms

WP Term Images allows users to assign images to any visible category, tag, or taxonomy term using the media library, providing a customized look for their taxonomies.

Dependencies

Not since WordPress 4.4.

Install the WP Term Meta plugin if you’re on an earlier version.

Also checkout

  • WP Chosen
  • WP Pretty Filters
  • WP Media Categories
  • WP Term Order
  • WP Term Authors
  • WP Term Colors
  • WP Term Icons
  • WP Term Visibility
  • WP User Activity
  • WP User Avatars
  • WP User Groups
  • WP User Profiles

Скриншоты

  • Category Images

Установка

  • Download and install using the built in WordPress plugin installer.
  • Activate in the «Plugins» area of your admin by clicking the «Activate» link.
  • No further setup or configuration is necessary.

Часто задаваемые вопросы

Does this create new database tables?

No. There are no new database tables with this plugin.

Does this modify existing database tables?

No. All of WordPress’s core database tables remain untouched.

How do I get the image for a term?

With WordPress’s get_term_meta() function

// image id is stored as term meta
$image_id = get_term_meta( 7, 'image', true );

// image data stored in array, second argument is which image size to retrieve
$image_data = wp_get_attachment_image_src( $image_id, 'full' );

// image url is the first item in the array (aka 0)
$image = $image_data[0];

if ( ! empty( $image ) ) {
    echo '<img src="' . esc_url( $image ) . '" />';
}

Where can I get support?

  • Basic: https://wordpress.org/support/plugin/wp-term-images/
  • Priority: https://chat.flox.io/support/channels/wp-term-images/

Where can I find documentation?

http://github.com/stuttter/wp-term-images/

Отзывы

Simple and less intrusive

Alvaro Gois dos Santos 23.01.2021
It’s simple and less intrusive than other plugins that do the same. It blends better with WordPress UI. It doesn’t show anything in the frontend if the correct code isn’t added to the theme, something like this I guess: <?php $taximg_id = get_queried_object()->term_id; // image id is stored as term meta $image_id = get_term_meta( $taximg_id, 'image', true ); // image data stored in array, second argument is which image size to retrieve $image_data = wp_get_attachment_image_src( $image_id, 'full' ); // image url is the first item in the array (aka 0) $image = $image_data[0]; if( $image ) { echo "<img src=" . $image . " class='term-image'>"; } ?>

Plugin is out of date, don’t use

joopon 23.05.2019
Not compatible with Woocommerce 3.6.3. All taxonomies disappear.

Just what I need

Knut Sparhell 01.05.2019
Excellent! Works like a charm. Very useful for building nice term pages.

Thank you

dimitris33 02.06.2017
Just tested with the latest version of WP.

Best Plugin For Uploading Term Images

Michelle 29.04.2017
Used this plugin to upload images for each category and child category using get_terms to display the images in a template.

Thanks!

wellbeingtips 27.01.2017
keep up the good job!
Посмотреть все 10 отзывов

Участники и разработчики

«WP Term Images» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники
  • John James Jacoby
  • Stuttter

«WP Term Images» переведён на 10 языков. Благодарим переводчиков за их работу.

Перевести «WP Term Images» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

[1.0.0] — 2017-01-16

  • Stability!
  • Fix text domains
  • Simplify some JavaScript
  • Handle more JavaScript edge-cases

[0.3.1] — 2016-07-13

  • Fix regular edits

[0.3.0] — 2016-05-27

  • Fix quick-edits
  • Update WP Term Meta UI dependency to 0.1.9

[0.2.0] — 2016-01-07

  • Fix new-term form action hi-jacking
  • Update WP Term Meta UI dependency to 0.1.4

[0.1.0] — 2015-11-09

  • Initial release

Мета

  • Версия 1.0.0
  • Обновление: 1 месяц назад
  • Активных установок: 2 000+
  • Версия WordPress 4.4 или выше
  • Совместим вплоть до: 5.6.17
  • Языки

    Chinese (Taiwan), English (UK), English (US), German, Japanese, Norwegian (Bokmål), Polish, Portuguese (Portugal), Spanish (Chile), Spanish (Spain) и Swedish.

    Перевести на ваш язык

  • Метки:
    imagemetametadatataxonomyterm
  • Дополнительно

Оценки

4.6 из 5 звёзд.
  • 9 5-звездный отзыв 5 звёзд 9
  • 0 4-звездный отзыв 4 звезды 0
  • 0 3-звездный отзыв 3 звезды 0
  • 0 2-звездный отзыв 2 звезды 0
  • 1 1-звездный отзыв 1 звезда 1

Your review

Посмотреть всеотзывы

Участники

  • John James Jacoby
  • Stuttter

Поддержка

Есть что сказать? Нужна помощь?

Перейти в форум поддержки

Пожертвование

Хотите поддержать улучшение этого плагина?

Пожертвовать на развитие плагина

  • О нас
  • Новости
  • Хостинг
  • Приватность
  • Витрина
  • Темы
  • Плагины
  • Паттерны
  • Обучение
  • Поддержка
  • Разработчики
  • WordPress.TV ↗
  • Присоединиться
  • События
  • Поддержать ↗
  • Пять для будущего
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Русский

  • Посетите нас в X (ранее Twitter)
  • Посетите нашу учётную запись в Bluesky
  • Посетите нашу ленту в Mastodon
  • Посетите нашу учётную запись в Threads
  • Посетите нашу страницу на Facebook
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
  • Посетите нашу учётную запись в TikTok
  • Посетите наш канал YouTube
  • Посетите нашу учётную запись в Tumblr
Код — это поэзия.
The WordPress® trademark is the intellectual property of the WordPress Foundation.