Title: Post Taxonomy Column
Author: Marcus Downing
Published: <strong>17.10.2011</strong>
Last modified: 26.10.2011

---

Поиск плагинов

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

![](https://s.w.org/plugins/geopattern-icon/post-taxonomy-column.svg)

# Post Taxonomy Column

 Автор: [Marcus Downing](https://profiles.wordpress.org/marcusdowning/)

[Скачать](https://downloads.wordpress.org/plugin/post-taxonomy-column.zip)

 * [Детали](https://ru.wordpress.org/plugins/post-taxonomy-column/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/post-taxonomy-column/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/post-taxonomy-column/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/post-taxonomy-column/#developers)

 [Поддержка](https://wordpress.org/support/plugin/post-taxonomy-column/)

## Описание

This plugin improves the All Posts or All Pages view in the admin section by adding
columns for
 any taxonomy you wish. There are two ways to use it:

 1. Use the setting page to select the taxonomies.
 2. Write code to add a column in exactly the right place.

## Скриншоты

[⌊A Keywords column added to the All Pages listing.⌉⌊A Keywords column added to 
the All Pages listing.⌉[

A _Keywords_ column added to the All Pages listing.

[⌊The settings page.⌉⌊The settings page.⌉[

The settings page.

## Установка

Install the plugin the normal way:

 1. Upload the `post-taxonomy-column` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Visit the settings page to switch columns on and off.

Alternatively, you can use the `manage_edit-post_type_columns` filter to adjust 
the columns more precisely.

Suppose you have a custom post type called _Movies_, and a custom taxonomy called
_Year of Release_ with the code `year`, and you’d like to add this to the ‘All Movies’
listing in the admin.

Put the following code into `functions.php` or a plugin:

    ```
    add_filter("manage_edit-movie_columns", "add_movie_columns");
    function add_movie_columns ($columns) {
        $columns['year'] = 'Year of Release';
        return $columns;
    }
    ```

This plugin will then fill in values for the Year column.

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

  Where do these taxonomies come from?

You’ll need to add them, either with code in your theme’s `functions.php` or using
a plugin.
 This plugin does not register or manage taxonomies.

  Does this work with custom post types?

Yes.

  Can I use this plugin to create custom post types?

No, this plugin does not register or manage custom post types.
 You’ll need to add
them either with code in your theme’s `functions.php` or using a plugin.

  My taxonomy/post type isn’t showing up. What’s wrong?

Make sure your taxonomies and post types are public:

    ```
     register_post_type('foo', array(
       ...
       'public' => true
     ));
    ```

  What will this do if I add a column code that isn’t a taxonomy?

Nothing. You’ll get a blank cell.

  Can I have more than one taxonomy column?

Yes, as many as you like as long as the column’s ID matches up with the taxonomy
ID.

  Can I control the order of the columns? How do I add a column in the middle rather
than the end?

To fine-tune the order of the columns, you will need to control them yourself.
 
Turn off the checkboxes in the settings page, and instead use the `manage_edit-`
_xxx_`_columns` filter which lets you adjust the columns any way you wish.

For example, to add the `year` column after the `author` column:

    ```
    add_filter("manage_edit-movie_columns", "add_movie_columns");
    function add_movie_columns ($columns) {
        $out = array();
        foreach ($columns as $key => $value) {
          $out[$key] = $value;
          if ($key == "author")
            $out["year"] = "Year of Release";
        }
        return $out;
    }
    ```

Make sure your filter returns a value of some sort, or you’ll end up with no columns
at all.

## Отзывы

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

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

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

Участники

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)

[Перевести «Post Taxonomy Column» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/post-taxonomy-column)

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

[Посмотрите код](https://plugins.trac.wordpress.org/browser/post-taxonomy-column/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/post-taxonomy-column/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/post-taxonomy-column/)
по [RSS](https://plugins.trac.wordpress.org/log/post-taxonomy-column/?limit=100&mode=stop_on_copy&format=rss).

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

#### 1.1

Added a settings page and code to add columns for you. No more code required!

#### 1.0

The first release. Required you to add much of the code yourself.

## Мета

 *  Версия **1.1**
 *  Обновление: **15 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 3.0 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/post-taxonomy-column/)
 * Метки:
 * [admin](https://ru.wordpress.org/plugins/tags/admin/)[taxonomies](https://ru.wordpress.org/plugins/tags/taxonomies/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/post-taxonomy-column/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/post-taxonomy-column/reviews/)

## Участники

 *   [ Marcus Downing ](https://profiles.wordpress.org/marcusdowning/)

## Поддержка

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

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/post-taxonomy-column/)