Support » Plugin: Content Types » [Plugin: Content Types] Use existent taxonomy…

  • Resolved fiblan

    (@fiblan)


    Great Plugin 😉 works 3.1.2
    To work with an already registered taxonomy (category for example)
    i suggest this patch to content-types-wordpress-plugin.php
    201,205c201
    < if ($s[‘use_category’] AND taxonomy_exists($s[‘category_singular_name’])){
    <
    < register_taxonomy_for_object_type($s[‘category_singular_name’],$s[‘slug’]);
    <
    < }

    > if($s[‘use_category’] and $s[‘category_name’] and $s[‘category_singular_name’]){
    207,208d202
    < else if($s[‘use_category’] and $s[‘category_name’] and $s[‘category_singular_name’]){
    <
    381c375
    < ?>

    > ?>
    \ No newline at end of file

    http://wordpress.org/extend/plugins/content-types-wordpress-plugin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Content Types] Use existent taxonomy…’ is closed to new replies.