Title: Multisite?
Last modified: August 21, 2016

---

# Multisite?

 *  Resolved [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * (@vampyrse)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-191/)
 * Hey,
 * I wonder if the plug-in works on multi-site – or is it easy to modify it to do
   so?
 * Have installed it, but getting this error message: “There aren’t any tags that
   can be added to posts” when I try setting the tags. Note that all tags I entered
   in the plug-in are already registered on the site, so I was not adding any new
   ones. Figured it doesn’t call the right table?
 * All the best,
    Markus
 * PS. Love the plug-in btw! Extremely useful.
 * [https://wordpress.org/plugins/automatic-post-tagger/](https://wordpress.org/plugins/automatic-post-tagger/)

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

 *  Plugin Author [Devtard](https://wordpress.org/support/users/devtard/)
 * (@devtard)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066585)
 * Hi, I’m not really familiar with Multisite so honestly I’m not sure what the 
   problem is and what can be done about it.
 * But I’m currently working on the next version 1.6; I’ll put your suggestion on
   my to-do list.
 * I’m glad you otherwise like the plugin.
 *  Thread Starter [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * (@vampyrse)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066731)
 * Hey Devtard!
 * Actually, it seems like you are halfway there. If you point me in the right direction
   I could do some minor changes to see if I could get it to work.
 * In basic declarations you set $apt_table = $wpdb->prefix .’apt_tags’. Thus, the
   tags go into the right Multisite table when saving – in my case wp_3_apttags.
   The problem is when you try to tag your posts, which probably has to do with 
   the database call in the tag function basically just missing the prefix.
 * If you only point me in the right direction (file and row) of where that is done
   I can easily test and report back to you. Tried making the changes where I thought
   it was, but it seems it was the wrong place.
 *  Plugin Author [Devtard](https://wordpress.org/support/users/devtard/)
 * (@devtard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066732)
 * The message “There aren’t any tags that can be added to posts” (line 1595 in 
   the main php file) is displayed only if the variable “apt_stats_current_tags”
   is equal to zero. If there are some keywords in the table but you are still getting
   this error message for some reason (the variable should be updated every time
   a new keyword is added or removed, I’m not sure why it doesn’t work for you),
   try deleting or commenting out lines 1596 to 1599. Let me know if that helps.
 *  Thread Starter [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * (@vampyrse)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066779)
 * Thanks, Devtard! That worked perfectly for the manual tagging.
    The automatic
   function is still not working though, any tips and tricks to make that function
   work?
 *  Plugin Author [Devtard](https://wordpress.org/support/users/devtard/)
 * (@devtard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066780)
 * I assume you aren’t getting the same error message when using the bulk tagging
   tool, correct? What exactly doesn’t work?
 *  Thread Starter [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * (@vampyrse)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066781)
 * Yeah, the bulk tagging is working great now since I commented out the part you
   mentioned above.
 * What’s still not working is the automatic tagging, which is set to trigger on
   publishing/updating. It doesn’t seem to be running at all, no messages are being
   tagged. Tried changing the trigger to saving as well, but no luck.
 * (PS. I tried uninstalling and reinstalling, but to no avail.)
 *  Plugin Author [Devtard](https://wordpress.org/support/users/devtard/)
 * (@devtard)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066782)
 * Delete/comment out lines 679 to 681, that might fix the problem.
 *  Thread Starter [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * (@vampyrse)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066805)
 * This worked perfectly.
 * New problems with 1.6 now though. Same as other guy, will post in that thread.

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

The topic ‘Multisite?’ is closed to new replies.

 * ![](https://ps.w.org/automatic-post-tagger/assets/icon-256x256.png?rev=1049934)
 * [Automatic Post Tagger](https://wordpress.org/plugins/automatic-post-tagger/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-post-tagger/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-post-tagger/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-post-tagger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-post-tagger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-post-tagger/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 8 replies
 * 2 participants
 * Last reply from: [Markus Odevall](https://wordpress.org/support/users/vampyrse/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/multisite-191/#post-5066805)
 * Status: resolved