• Hello! On admin page i have a empty field. ( http://prntscr.com/cz3smy ) In file plugins/cpt-onomies/admin.php function
    “wp_terms_checklist( $post->ID, array( ‘taxonomy’ => $taxonomy, ‘popular_cats’ => $popular_ids, ‘walker’ => new CPTonomy_Walker_Terms_Checklist() ) );”
    is returning only
    “<li id=”sity-“><label class=”selectit”><input value=”” type=”checkbox” name=”_custom_post_type_onomies_relationship[sity][]” id=”in-sity-“> </label>“.
    If change $taxonomy from “sity” to “category”, function return posts correctly.

    Custom post types available by link “edit.php?post_type=sity”.

The topic ‘Problem with function’ is closed to new replies.