[resolved] [Plugin: Query Multiple Taxonomies] CFT and QMT conflict (6 posts)

  1. parandroid
    Posted 5 years ago #

    Hi, Scribe,

    Query Multiple Taxonomies and Custom Field Taxonomies are great plugins, but when I want to active them in sametimes,these two plugins is conflict...

    Fatal error: Cannot redeclare static scbForms::$args as non static scbAdminPage::$args in E:\xampp\htdocs\localwp\wp-content\plugins\custom-field-taxonomies\scb\AdminPage.php on line 350

    Is any solutions to resolve it? or can only use one?

    My English is not good enough, hope you can know what I mean...


  2. scribu
    Posted 5 years ago #

    Try the development version (1.5b2)

  3. parandroid
    Posted 5 years ago #

    Thanks, scribu! And I'm sorry for wrong spelling your name:)

  4. parandroid
    Posted 5 years ago #

    Oh, I downloaded, it's 1.1.2a, and still can't fix problem...

  5. parandroid
    Posted 5 years ago #

    It's done, version 1.5b2 is custom fileds taxonomies!

    But I had another problem:

    I register a new post type "music":

    register_post_type( 'music' , array(
    'label' => __('Music'),
    'singular_label' => __('Music'),
    'public' => true,
    'show_ui' => true,
    'publicly_queryable' => true,
    'capability_type' => 'post',
    'hierarchical' => false,
    'rewrite' => true,
    'query_var' => true,
    'supports' => array('title', 'author', 'editor','thumbnail','excerpts','trackbacks','custom-fields','comments','revisions','page-attributes')

    When I active "Query Multiple Taxonomies", a tag query like
    will show posts with "post" type and has tag "test", not show posts with "music" type even has tag "test".

  6. scribu
    Posted 5 years ago #

    If you want QMT to work only with music post types, you have to add this line of code, for example in your theme's functions.php:

    add_filter('qmt_post_type', create_function("", "return 'music';"));

Topic Closed

This topic has been closed to new replies.

About this Topic