Group Admins

  • Profile picture of andrea

general

Public Group active 2 days, 9 hours ago

support area for everyone including pre-sale

global term (6 posts)

  • Profile picture of Ünsal Korkmaz Ünsal Korkmaz said 2 years, 9 months ago:

    Hi,
    I asked in other places but no one knows about that.. You are multisite specialist so i am asking if its ok.
    You can read question here:

    http://wpquestions.com/question/show/id/3053

    I will buy WP Multisite Replicator and will use it for creating “city” taxonomy in all sites of MultiSite but i cant update it like that. I found global_terms_enabled but there is no documantation about it.

    Basically i want taxonomy that will use in all blogs but only super_admin will edit it with capabilities:
    ` ‘capabilities’ => array(

    ‘manage_terms’ => ‘manage_network’,

    ‘edit_terms’ => ‘manage_network’,

    ‘delete_terms’ => ‘manage_network’,

    ‘assign_terms’ => ‘edit_posts’

    ),`

    Is that possible?

  • Profile picture of ronr ronr said 2 years, 9 months ago:

    You can do that on site creation by hooking wpmu_new_blog which passes the $blog_id of the new blog.

    In your hook, switch_to_blog to the new blog, insert the terms & restore_current_blog()

  • Profile picture of ronr ronr said 2 years, 9 months ago:

    Global terms was an early attempt at a global category list in MU (say 5 years ago). It was never fully developed. When we merged, we added that flag to upgraded MU installs so their terms would continue to work like they had before the upgrade.

  • Profile picture of Ünsal Korkmaz Ünsal Korkmaz said 2 years, 9 months ago:

    Ah i see.
    My current plan is creating blog with default inserts and using WP Multisite Replicator.. Main problem is i cant update that taxonomy after sites already copied. So i need to insert carefully and pray the god for not need to add any more terms to it :P

    Seriously there must be a way.. Global terms.. this is soul of specific networks.

  • Profile picture of Ünsal Korkmaz Ünsal Korkmaz said 2 years, 9 months ago:

    i opened an idea: http://wordpress.org/extend/ideas/topic/global-terms-this-is-soul-of-specific-networks
    :P

  • Profile picture of ronr ronr said 2 years, 9 months ago:

    Other than the basic functions that are in WP, the rest will have to be done in a plugin. There are no plans to extend global terms in core.