Title: LH User Taxonomies
Author: shawfactor
Published: <strong>4 Mart 2015</strong>
Last modified: 21 Mart 2021

---

Eklentilerde ara

![](https://ps.w.org/lh-user-taxonomies/assets/banner-772x250.jpg?rev=1353842)

Bu eklenti, **WordPress’in son 3 ana dağıtımı ile test edilmemiş**. Artık bakımı
yapılmıyor veya desteklenmiyor olabilir ve WordPress’in daha güncel sürümleriyle
birlikte kullanıldığında uyumluluk sorunları olabilir.

![](https://ps.w.org/lh-user-taxonomies/assets/icon-128x128.png?rev=1104699)

# LH User Taxonomies

 [shawfactor](https://profiles.wordpress.org/shawfactor/) tarafından

[İndir](https://downloads.wordpress.org/plugin/lh-user-taxonomies.zip)

 * [Detaylar](https://tr.wordpress.org/plugins/lh-user-taxonomies/#description)
 * [Değerlendirmeler](https://tr.wordpress.org/plugins/lh-user-taxonomies/#reviews)
 *  [Kurulum](https://tr.wordpress.org/plugins/lh-user-taxonomies/#installation)
 * [Geliştirme](https://tr.wordpress.org/plugins/lh-user-taxonomies/#developers)

 [Destek](https://wordpress.org/support/plugin/lh-user-taxonomies/)

## Açıklama

This plugin extends the default taxonomy functionality and extends it to users, 
while automating all the boilerplate code.

Once activated, you can register user taxonomies using the following code:

    ```
    register_taxonomy('profession', 'user', array(
        'public'        =>true,
        'single_value' => false,
        'show_admin_column' => true,
        'labels'        =>array(
            'name'                      =>'Professions',
            'singular_name'             =>'Profession',
            'menu_name'                 =>'Professions',
            'search_items'              =>'Search Professions',
            'popular_items'             =>'Popular Professions',
            'all_items'                 =>'All Professions',
            'edit_item'                 =>'Edit Profession',
            'update_item'               =>'Update Profession',
            'add_new_item'              =>'Add New Profession',
            'new_item_name'             =>'New Profession Name',
            'separate_items_with_commas'=>'Separate professions with commas',
            'add_or_remove_items'       =>'Add or remove professions',
            'choose_from_most_used'     =>'Choose from the most popular professions',
        ),
        'rewrite'       =>array(
            'with_front'                =>true,
            'slug'                      =>'author/profession',
        ),
        'capabilities'  => array(
            'manage_terms'              =>'edit_users',
            'edit_terms'                =>'edit_users',
            'delete_terms'              =>'edit_users',
            'assign_terms'              =>'read',
        ),
    ));
    ```

Read more about [registering taxonomies in the codex](https://codex.wordpress.org/Function_Reference/register_taxonomy)

This is heavily inspired by previous work by [Justin Tadlock](http://justintadlock.com/archives/2011/10/20/custom-user-taxonomies-in-wordpress)
and also forks Damian Gostomskis plugin in the repository to add additional functionality,
including:

 * Fixes a bug with display of existing user taxonomies in the user-edit screen
 * Fixes a bug with taxonomy count in the old plugin where deleting users did not
   update the count
 * Add support for ‘single_value’ attribute when registering a user taxonomy for
   taxonomies which should only have one value.
 * Properly supports the capabilities associated with the taxonomy when registered.
 * Supports ‘show_admin_column’ attribute when registering the taxonomy in the same
   way as post taxonomies.
 * Where ‘show_admin_column’ is true admins can assign user taxonomies using bulk
   edit functionality.

Check out [our documentation](https://lhero.org/portfolio/lh-user-taxonomies/) for
more information on how to register user taxonomies.

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-user-taxonomies/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-user-taxonomies/).**

## Yükleme

 1. Upload the `lh-user-taxonomies` folder to the `/wp-content/plugins/` directory
 2. Bu eklentiyi “Eklentiler” menüsünden etkinleştirin
 3. Use `register_taxonomy` as shown in the description

## SSS

### Can I set a taxonomy that includes posts/pages/cpt´s with users?

You can but you should not. The problem being that when taxonomies are shared across
objects types in different tables wordpress can get confused.

### 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.

### Does this plugin integrate with user roles?

No. This is best left to plugins that choose to integrate with this plugin.

### What is something does not work?

LH User Taxonomies, and all LocalHero plugins are made to WordPress so should work
with all well coded plugins and themes. But not all plugins and themes are well 
coded (including many popular ones).

If something does not work properly, firstly decativate ALL other plugins and switch
to one of the thesmes that come with core (e.g. twentyfirteen, twentysixteen etc).

If the problem persists pleasse leave a post in the support forum: [https://wordpress.org/support/plugin/lh-user-taxonomies/](https://wordpress.org/support/plugin/lh-user-taxonomies/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

### Can I contribute?

Yes, please! The number of users needing LH User Taxonomies is growing fast. Having
an easy-to-use API and powerful set of functions is critical to managing complex
WordPress installations. If this is your thing, please help us out!

## İncelemeler

![](https://secure.gravatar.com/avatar/bb15f8aa331a03668a19bd4c4fa15aee6934bebfe94d71bab09efc1ed90e670c?
s=60&d=retro&r=g)

### 󠀁[Solves my problem](https://wordpress.org/support/topic/solves-my-problem-4/)󠁿

 [Charles Jaimet](https://profiles.wordpress.org/cmjaimet/) 20 Aralık 2020 1 yanıt

Excellent plugin, thanks. One thing I'm adding to my implementation is to expose
the taxonomy via API. register_taxonomy('profession', 'user', array( … 'show_in_rest'
=> true, 'rest_base' => 'profession, 'rest_controller_class' => 'WP_REST_Terms_Controller',));

![](https://secure.gravatar.com/avatar/e411834a9934587c893c18248628fdfda22b705c1fe5103ca86b267439e1ebed?
s=60&d=retro&r=g)

### 󠀁[Super Plugin, Responsive Developer](https://wordpress.org/support/topic/super-plugin-responsive-developer/)󠁿

 [bigflannel](https://profiles.wordpress.org/bigflannel/) 1 Ekim 2020

Thanks Pete for this super plugin. Pete also updated the plugin based on feedback.
I am using it as part of a members site. Thank you! Regards Mike

![](https://secure.gravatar.com/avatar/41a7165b6a0eca0871db9e448ead6b85701fe73f49d0101133ba8393c11d6ee7?
s=60&d=retro&r=g)

### 󠀁[Works with 5.4](https://wordpress.org/support/topic/works-with-5-4-2/)󠁿

 [Kevin Phillips](https://profiles.wordpress.org/dollar_dad/) 2 Ağustos 2020

I can confirm that this plugin works with WordPress 5.4 and is really good.

![](https://secure.gravatar.com/avatar/6c0b1c329ad1ce2455dcf8bb3a7bcaa4a4988c3670adcdb1aed65725a7cfd98b?
s=60&d=retro&r=g)

### 󠀁[Great one](https://wordpress.org/support/topic/great-one-49/)󠁿

 [Codenroll](https://profiles.wordpress.org/codenroll/) 6 Haziran 2018

I use it frequently

![](https://secure.gravatar.com/avatar/4cedbca78d5e9004eaecb770baea85601cbc2f3e8ab8000472c3debe38d073dc?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-4127/)󠁿

 [Rasso Hilber](https://profiles.wordpress.org/nonverbla/) 11 Haziran 2017

Does exactly what it says.

![](https://secure.gravatar.com/avatar/6150730e9f6571ef4be41e7bbdecd7e5050bc82af442f424e2a1cf47475de385?
s=60&d=retro&r=g)

### 󠀁[<3](https://wordpress.org/support/topic/3-3/)󠁿

 [Johan Benjaminsson](https://profiles.wordpress.org/johanbenjaminsson/) 5 Ocak 
2017

Perfect!

 [ 8 incelemeyi oku ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/)

## Katkıda Bulunanlar ve Geliştiriciler

“LH User Taxonomies” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda
bulunmuşlardır.

Katkıda bulunanlar

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

[“LH User Taxonomies” eklentisini dilinize çevirin.](https://translate.wordpress.org/projects/wp-plugins/lh-user-taxonomies)

### Geliştirmeyle ilgilenir misiniz?

[Kodu görüntüleyin](https://plugins.trac.wordpress.org/browser/lh-user-taxonomies/),
[SVN deposuna](https://plugins.svn.wordpress.org/lh-user-taxonomies/) göz atın ya
da [RSS](https://plugins.trac.wordpress.org/log/lh-user-taxonomies/?limit=100&mode=stop_on_copy&format=rss)
ile [geliştirme günlüğüne](https://plugins.trac.wordpress.org/log/lh-user-taxonomies/)
abone olun.

## Değişiklik Kaydı

**1.00 February 28, 2015**
 * Initial release

**1.2 July 15, 2015**
 * Code improvements

**1.3 July 17, 2015**
 * Documentation links

**1.41 August 31, 2015**
 * Fix for saving taxonomies on profile when you need to
remove term – thanks Greumb

**1.50 March 04, 2016**
 * Added bulk edit functionality

**1.50 March 04, 2016**
 * Added bulk edit functionality

**1.52 February 22, 2017**
 * Buildtree bug fix

**1.53 April 27, 2017**
 * registered_taxonomy fix

**1.54 April 30, 2017**
 * added show_in_menu support

**1.55 May 15, 2017**
 * better single value check

**1.56 July 27, 2017**
 * added class check

**1.57 May 06, 2019**
 * singleton pattern, capability check, and value removal

**1.60 September 22, 2020**
 * remove redundant code, menu fix

**1.61 March 19, 2021**
 * fix term count on deleted_user and linked count

## Meta

 *  Sürüm **1.61**
 *  Son güncelleme **6 yıl önce**
 *  Etkin kurulumlar **300+**
 *  WordPress sürümü ** 4.0 veya üstü **
 *  Test edilen sürüm **5.7.21**
 *  Dil
 * [English (US)](https://wordpress.org/plugins/lh-user-taxonomies/)
 * Etiketler
 * [custom taxonomy](https://tr.wordpress.org/plugins/tags/custom-taxonomy/)[register_taxonomy](https://tr.wordpress.org/plugins/tags/register_taxonomy/)
   [taxonomy](https://tr.wordpress.org/plugins/tags/taxonomy/)[user](https://tr.wordpress.org/plugins/tags/user/)
   [users](https://tr.wordpress.org/plugins/tags/users/)
 *  [Gelişmiş görünüm](https://tr.wordpress.org/plugins/lh-user-taxonomies/advanced/)

## Puanlar

 5 üzerinden 5 yıldız.

 *  [  8 5 yıldızlı inceleme     ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/?filter=5)
 *  [  0 4 yıldızlı inceleme     ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/?filter=4)
 *  [  0 3 yıldızlı inceleme     ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/?filter=3)
 *  [  0 2 yıldızlı inceleme     ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/?filter=2)
 *  [  0 1 yıldızlı inceleme     ](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/?filter=1)

[Değerlendirmeniz](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/#new-post)

[Tüm değerlendirmeleri gör](https://wordpress.org/support/plugin/lh-user-taxonomies/reviews/)

## Katkıda bulunanlar

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Destek

Söyleyeceğiniz bir şey mi var? Yardım mı lazım?

 [Destek forumunu görüntüle](https://wordpress.org/support/plugin/lh-user-taxonomies/)

## Bağış yap

Bu eklentinin geliştirilmesini desteklemek ister misiniz?

 [ Bu eklentiye bağış yap ](https://lhero.org/portfolio/lh-user-taxonomies/)