Перейти до вмісту
  • Увійти
  • Зареєструватись
WordPress.org

Україна

  • Теми
  • Плагіни
  • Новини
  • Підтримка
  • Про
  • Документація
  • Спільнота
  • Контакт
  • Завантажити WordPress
Завантажити WordPress

Плагіни

  • Мої улюблені
  • Бета-тестування
  • Розробникам
Завантажити

Advanced Category and Custom Taxonomy Image

Від автора Sajjad Hossain Sagor
  • Деталі
  • Відгуки
  • Встановлення
  • Розробка
Підтримка

Опис

Now its easier to include category / custom taxonomy image with this plugin for different platforms. No need to overload mobile bandwidth with high pixel image size. You can now select different image for different devices.

Documentation

$taxonomy_img = get_taxonomy_image( int $term_id = get_queried_object()->term_id , boolean $return_img_tag = false , array $class = array() );

get taxonomy image url if $return_html = true then return  tag

Parameters :
$term_id
(int) (Required) Taxonomy ID of the term.

$return_img_tag
(boolean) (Optional) Formatted Image with  tag for the field during output.

$class
(array) (Optional) Array of image classes ex: array('class1','class2',...) but $return_img_tag should be true to add image class.

echo $taxonomy_img; // taxonomy image url

where $term_id is ‘category / term id’

Features

  • Option To Enable Custom Image Upload for different taxonomies
  • Option To Enable Custom Image Upload for different devices
  • Very simple to use & WP Default Media Uploaded to upload image
  • Built-in Template Tag to use in your theme template

Interested in contributing to Drag & Drop Menu Items?
Contact me at sagorh672(at)gmail(dot)com

Скріншоти

  • Settings page for enabling taxonomy image upload for different taxonomies
  • Settings page for enabling taxonomy image upload for different devices
  • Auto Template Tag Generation

Встановлення

  1. Go to WordPress plugin page
  2. Click Add New & Upload Plugin
  3. Drag / Click upload the plugin zip file
  4. The resulting installation screen will list the installation as successful or note any problems during the install.
    If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
  5. Go to your Dashboard ->Settings -> Advanced Category & Taxonomy Image.
  6. There You Will Find Fields To Enable Taxonomy & Device Filters.
  7. After Enabling Go To Your Taxonomy Add/Edit Page To Upload Image

Часті питання

  1. How can i use the image i uploaded?
    Get Your Taxonomy tag_ID and use get_taxonomy_image( $term_id ) to get the image url and use it in your theme’s template area where you want to show it. (Note : In the taxonomy list there you will find already created template tag to use see screenshot 3)

Відгуки

very good

MohammadFamo 09.04.2023
tnx

Simple, effective plugin.

fwuk 08.07.2022
I have used it. Works fine. Thank you for a useful plugin.

This plugin is a life saver

30.01.2021
Really good plugin, the author responds quickly and is very friendly.

How display image on single.php

Taher Almahdi 05.07.2020 1 reply
I try to display taxonomy images on single post using <?php get_taxonomy_image(1455); ?>, but images don't show. How does slove this issue?

Nice plugin!!!

Rigo Sandoval Uribe 06.09.2019
Excellent plugin for different images for each device.
Прочитати всі 5 відгуків

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

“Advanced Category and Custom Taxonomy Image” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники
  • Sajjad Hossain Sagor

Перекладіть “Advanced Category and Custom Taxonomy Image” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.6

  • Minor Update.. tested for latest wp compatibility.. added any device option and code style changed and beautified.

1.0.5

  • Minor Update.. now tax template tag won’t be visible if no image is added

1.0.4

  • Minor Update.. updated for tranlations ready..

1.0.3

  • Minor Update.. tested for latest wp compatibility..

1.0.2

  • Minor Update.. tested for latest wp compatibility..

1.0.1

  • Minor Update.. tested for latest wp compatibility..

1.0

  • Initial release.

Мета

  • Версія: 1.0.6
  • Останнє оновлення: 1 рік тому
  • Активних встановлень: 1 000+
  • WordPress версія: 5.6 або вище
  • Сумісний аж до: 6.0.5
  • Мова:
    English (US)
  • Позначки:
    category imagecategory-logofeatured imagetaxonomy imageterm image
  • Розширений перегляд

Оцінки

Переглянути всі
  • 5 зірок 5
  • 4 зірки 0
  • 3 зірки 0
  • 2 зірки 0
  • 1 зірка 0
Увійдіть, щоб залишити відгук.

Учасники

  • Sajjad Hossain Sagor

Підтримка

Проблеми вирішені за останні два місяці:

2 з 2

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

  • Про нас
  • Новини
  • Хостинг
  • Підтримати
  • Swag
  • Підтримка
  • Розробники
  • Приєднатися
  • Навчання
  • Вітрина
  • Плагіни
  • Теми
  • Паттерни
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Приватність
  • Відкритий код
WordPress.org
WordPress.org

Україна

  • Завітайте на нашу сторінку в Facebook
  • Відвідайте нашу стрічку в Twitter
  • Visit our Instagram account
  • Visit our LinkedIn account
Код - це поезія.