Support » Plugins and Hacks » [Plugin: Query Multiple Taxonomies] CFT and QMT conflict

  • Resolved parandroid

    (@parandroid)


    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…

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try the development version (1.5b2)

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

    Oh, I downloaded, it’s 1.1.2a, and still can’t fix problem…

    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
    “http://localhost/wordpress/?tag=test”
    will show posts with “post” type and has tag “test”, not show posts with “music” type even has tag “test”.

    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';"));

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Query Multiple Taxonomies] CFT and QMT conflict’ is closed to new replies.