WordPress.org

Ready to get started?Download WordPress

Forums

Add Filter in SitewideTag Plugin for share Taxonomy and Post-type (1 post)

  1. lucaweb
    Member
    Posted 3 years ago #

    Hi everyone,

    i'm looking for help (i'm not good with code) to add filter in Sitewide Tag Plugin for share not just categories and post but also taxonomy and post-type in the main-blog of a Multisite network, some info:

    the new version of sitewide tag plugin allow to share taxonomy and post-type adding the followng code:

    add_filter( 'sitewide_tags_allowed_post_types',
    'my_swt_post_type_filter' )
    and

    add_filter( 'sitewide_tags_custom_taxonomies',
    'my_swt_custom_tax_filter' )

    where “my_swt_post_type_filter” and 'my_swt_custom_tax_filter' are the name of a filter function that i should create.

    i'm here asking little help for to know the code to insert for "import in my main-blog all differents post-type and taxonomy from all sub-blogs!

    thank

Topic Closed

This topic has been closed to new replies.

About this Topic