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

Русский

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

Plugin Directory

Finspire Creative Role-Based Logo

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

Finspire Creative Role-Based Logo

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

Описание

Finspire Creative Role-Based Logo lets membership sites assign logos to WordPress user roles and display the correct logo with a shortcode.

Key features:

  • Display a role-based logo with the [finspire_role_logo] shortcode
  • Set a default logo when no role-specific logo is assigned
  • Define logo width and height per role in the admin page
  • Override width and height directly in the shortcode when needed
  • Use the shortcode in pages, templates, or other shortcode-friendly content areas
  • Manage all logo assignments from Users > Finspire Creative Role-Based Logo

The plugin adds a management page under Users where administrators can set:

  • A default logo
  • A role-based logo for each registered WordPress role
  • Optional width and height settings for each logo

Use [finspire_role_logo] anywhere shortcodes are supported.

Shortcode examples:

  • [finspire_role_logo]
  • [finspire_role_logo width="180"]
  • [finspire_role_logo width="180" height="60"]
  • [finspire_role_logo class="site-company-logo"]
  • [finspire_role_logo link="https://finspirecreative.com"]
  • [finspire_role_logo role="company_a"]

Установка

  1. Upload the plugin files to /wp-content/plugins/finspire-creative-role-based-logo/, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Users > Finspire Creative Role-Based Logo.
  4. Copy the shortcode and assign logos to your roles.
  5. Add [finspire_role_logo] anywhere shortcodes are supported.

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

Will new roles appear automatically?

Yes. The settings page reads the current WordPress roles dynamically when it loads.

Does sizing stretch the image?

No. When width or height is set, the plugin uses object-fit: contain so the image keeps its aspect ratio.

Can I override the saved dimensions in a specific shortcode?

Yes. Use attributes such as [finspire_role_logo width="180" height="60"].

What happens if a user has multiple roles?

The plugin uses the first role assigned to the user that has a logo configured.

What happens if no role-based logo is assigned?

The plugin will use the default logo when one is set. If no default logo is set, it outputs nothing.

Will this work with SVG logos?

Yes, as long as your WordPress site safely allows SVG uploads. The plugin uses the Media Library attachment that you assign to the role or default logo.

Where do I manage the logos?

Go to Users > Finspire Creative Role-Based Logo in the WordPress admin area.

Отзывы

Нет отзывов об этом плагине.

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

«Finspire Creative Role-Based Logo» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники
  • Finspire Creative

Перевести «Finspire Creative Role-Based Logo» на ваш язык.

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

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

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

1.3.7

  • Renamed class, shortcode, settings group, and option names to use the finspire_rbl_ / Finspire_Creative_Role_Logo prefix to comply with WordPress.org naming guidelines.
  • Shortcode is now [finspire_role_logo] (was [role_logo]).

1.3.6

  • Fixed logo width and height settings not taking effect in Elementor Pro and themes such as Hello Elementor. The HTML width/height attributes now reflect the configured dimensions so page builders use the correct size, and max-width/max-height are included in the inline style to prevent theme CSS from overriding the specified dimensions.

1.3.5

  • Added a version query string to the admin panel logo URL to avoid stale browser or CDN cache.

1.3.4

  • Updated the admin support email address.
  • Changed the admin support and shortcode panels to a two-column desktop layout.

1.3.3

  • Added a branded Finspire Creative logo to the admin support panel.

1.3.2

  • Added Finspire Creative contact information to the admin page.

1.3.1

  • Updated the plugin name and slug to Finspire Creative Role-Based Logo.

1.3.0

  • Rebranded the plugin with a Finspire prefix for WordPress.org naming guidelines.
  • Updated the plugin slug and text domain.

1.2.2

  • Removed the disallowed update header because WordPress.org-hosted plugins must use the WordPress.org update system.
  • Added the plugin languages folder.
  • Added missing translator context and escaped the admin image preview output.

1.2.0

  • Renamed the plugin to Finspire Creative Role-Based Logo.
  • Added a shortcode copy field and button to the admin page.
  • Renamed fallback logo wording to default logo.
  • Renamed role logo wording to role-based logos.
  • Added WordPress.org plugin metadata and readme.txt.

1.1.0

  • Added default width and height settings for the default logo and each role-based logo.
  • Preserved shortcode width and height overrides.

1.0.0

  • Initial release.

Мета

  • Версия 1.3.7
  • Обновление: 3 месяца назад
  • Активных установок: Менее 10
  • Версия WordPress 5.8 или выше
  • Совместим вплоть до: 6.9.6
  • Версия PHP 7.4 или выше
  • Язык
    English (US)
  • Метки:
    brandinglogomembersshortcodeuser roles
  • Дополнительно

Оценки

Пока что нет ни одного отзыва.

Your review

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

Участники

  • Finspire Creative

Поддержка

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

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

  • О нас
  • Новости
  • Хостинг
  • Приватность
  • Витрина
  • Темы
  • Плагины
  • Паттерны
  • Обучение
  • Поддержка
  • Разработчики
  • 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.