[wp-hackers] I have question, taxonomy

Sinan yok2504 at gmail.com
Sat Nov 13 13:06:27 UTC 2010


this taxonomy not alowed html code just tags working (text) how can ı html
alowed taxonomies?


*code:*
add_action( 'init', 'create_my_taxonomies', 0 );
function create_my_taxonomies() {
register_taxonomy( 'videokodu', 'post', array( 'hierarchical' => false,
'label' => 'Video Kodu', 'query_var' => true, 'rewrite' => true ) );

}

*and ı use that:*

<?php $terms_as_text = strip_tags( get_the_term_list( $wp_query->post->ID,
'videokodu', '', ', ', '' ) ); echo $terms_as_text; ?>

ı want the embed place for example youtuve embed code add taxonomy and show
posts or pages.




-- 
     Sinan İŞLER
www.sinanisler.com
sinanisler.deviantart.com


More information about the wp-hackers mailing list