Title: [Plugin: Category Meta plugin] WordPress Version 3.1.3 Multisite
Last modified: August 20, 2016

---

# [Plugin: Category Meta plugin] WordPress Version 3.1.3 Multisite

 *  [metalonlinecom](https://wordpress.org/support/users/metalonlinecom/)
 * (@metalonlinecom)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-wordpress-version-313-multisite/)
 * Hey there.
 * I try to geht this baby running in WordPress Version 3.1.3 with Multisite. I 
   can create new term-meta (“band_website”) for tags BUT the value of the new term-
   meta is not stored when I edit a tag.
 * Any idea how I can fix this?
 * Second question: I want to show the term-meta in the tag.php template and wonder
   how to get the value of my term-meta “band_website” shown.
 * Thanks for your help!
    Sören
 * [http://wordpress.org/extend/plugins/wp-category-meta/](http://wordpress.org/extend/plugins/wp-category-meta/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Juarez P. A. Filho](https://wordpress.org/support/users/juarezpaf/)
 * (@juarezpaf)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-wordpress-version-313-multisite/#post-2124648)
 * Same here :/
 *  [Brian Zeligson](https://wordpress.org/support/users/beezeee/)
 * (@beezeee)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-wordpress-version-313-multisite/#post-2124789)
 * This happens because the table that the plugin uses is created on plugin activation,
   and the plugin activation method is not multisite aware. The formal way of addressing
   this would be by following the structure found here – [http://wordpress.org/extend/plugins/proper-network-activation/](http://wordpress.org/extend/plugins/proper-network-activation/)
 * We are actually using this as a must-use plugin, which never runs an activation
   hook, so we handled it a bit differently. The solution we used involves fewer
   lines of code and will work whether you are running it as a must use or just 
   using network activate. The only tradeoff is one extra query every time you load
   wp-admin.
 * Add the following between lines 163 and 164 of wp-category-meta.php:
 *  global $wptm_table_name;
    global $wpdb; if(is_admin() and $wpdb->get_var(“show
   tables like ‘$wptm_table_name'”) != $wptm_table_name) { wptm_createTable($wpdb,
   $wptm_table_name); }
 * What this does now is every time you load wp-admin, the plugin will check to 
   ensure that a table exists for the current network site, and if it does not, 
   it will create it.
 * Works like a charm.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Category Meta plugin] WordPress Version 3.1.3 Multisite’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-category-meta.svg)
 * [Category Meta plugin](https://wordpress.org/plugins/wp-category-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-category-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-category-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-category-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-category-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-category-meta/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Brian Zeligson](https://wordpress.org/support/users/beezeee/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-category-meta-plugin-wordpress-version-313-multisite/#post-2124789)
 * Status: not resolved