There is a bunch of plugins that handle taxonomies. I would like CTM to enable
assigning these taxonomies to new post types.
It seems there are no road blocks to implement this. I have tried it on my site
and it just works, check my code below.
It might be a good idea to skip some "special" taxonomies, like nav_menu and
post_format. I was to lazy to do that :]
views/post_type.php, line 763 and on:
<!--!TAXONOMIES================================================================================================ -->
<div id="taxonomies-tab">
<h3><?php _e('Taxonomies', CCTM_TXTDOMAIN); ?></h3>
<p><?php _e('Taxonomies offer ways to classify data as an aid to searching.', CCTM_TXTDOMAIN); ?></p>
<p><?php _e("To create custom taxonomies, we recommend using momo360modena's <a href='http://wordpress.org/extend/plugins/simple-taxonomy/'>Simple Taxonomy</a> plugin to create custom taxonomies.", CCTM_TXTDOMAIN); ?></p>
<?php
$taxonomies = get_taxonomies( array(), 'objects');
?>
<?php foreach ( $taxonomies as $taxonomy): ?>
<div class="cctm_element_wrapper" id="">
<input type="checkbox" name="taxonomies[]" class="cctm_checkbox" id="taxonomy_<?php echo $taxonomy->name; ?>" value="<?php echo $taxonomy->name; ?>" <?php print CCTM::is_checked($data['def']['taxonomies'], $taxonomy->name); ?> />
<label for="taxonomy_<?php echo $taxonomy->name; ?>" class="cctm_label cctm_checkbox_label" id="cctm_label_taxonomies[]"><?php echo $taxonomy->labels->name; ?></label>
</div>
<?php endforeach; ?>
</div>
Original issue reported on code.google.com by fran.hrz...@gmail.com on 23 Jan 2013 at 12:13
Original issue reported on code.google.com by
fran.hrz...@gmail.com
on 23 Jan 2013 at 12:13