WP Manifestindependent plugin directory
manifest / content / wp-category-alt-title

Category Alternative Title

A lightweight WordPress (MU) plugin that allows administrators to set an alternative title for categories. If populated, this title automatically replaces the default archive title on category pages.

by Dmitry Kuzmenko · github.com/plsoo/wp-category-alt-title · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/plsoo/wp-category-alt-title/archive/refs/heads/main.zip

Readme

WP Category Alternative Title

English | Русский


English

A lightweight WordPress (MU) plugin that allows administrators to set an alternative title for categories. If populated, this title automatically replaces the default archive title on category pages.

Features

  • Lightweight & Clean: Minimal overhead, relies strictly on native WordPress Term Meta API.
  • Seamless Integration: Adds a custom field directly to Category creation and editing screens in wp-admin.
  • Automated Replacement: Dynamically overrides get_the_archive_title without requiring theme template modifications.
  • Secure & Standardized: Complies with WordPress Coding Standards (sanitization, escaping, unslashing).

Installation

As a Must-Use Plugin (Recommended)

  1. Download wp-category-alt-title.php.
  2. Upload the file to your /wp-content/mu-plugins/ directory.

As a Standard Plugin

  1. Clone this repository into /wp-content/plugins/wp-category-alt-title/.
  2. Activate the plugin via the Plugins menu in WordPress.

Русский

Легковесный WordPress (MU) плагин, добавляющий поле «Альтернативный заголовок» для категорий. При заполнении поля заголовок автоматически подменяется на страницах архивов категорий.

Особенности

  • Минималистичность: Работает через нативный WordPress Term Meta API без сторонних зависимостей.
  • Удобный интерфейс: Интегрирует поле прямо в формы создания и редактирования категорий.
  • Автоматическая подмена: Перехватывает фильтр get_the_archive_title — править шаблоны темы не требуется.
  • Безопасность: Написан строго по стандартам WPCS (санитизация данных, экранирование).

Установка

Как Must-Use плагин (Рекомендуется)

  1. Скачайте файл wp-category-alt-title.php.
  2. Поместите его в папку /wp-content/mu-plugins/.

Как обычный плагин

  1. Поместите папку с плагином в /wp-content/plugins/wp-category-alt-title/.
  2. Активируйте плагин в панели Плагины.

Author

Dmitry Kuzmenko

License

GPL-2.0-or-later

Read the full README on GitHub →