WordPress.org

Ready to get started?Download WordPress

Forums

Content Types
[resolved] Use existent taxonomy... (2 posts)

  1. fiblan
    Member
    Posted 3 years ago #

    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/

  2. iambriansreed
    Member
    Plugin Author

    Posted 3 years ago #

    I will look into this. If I get use your code I will give you credit. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic