Open this file bikinwebsite_07/cmb2/includes/CMB2_Functions.php (inside your theme folder)
After this line:
register_taxonomy( 'artist' , array ( 'post' ), $args ); |
Add this code:
/**/ $labels = array ( 'name' => _x( 'Yapin Yili Ve Ul Ke' , 'Taxonomy General Name' , 'bw_translate' ), 'singular_name' => _x( 'Yapin Yili Ve Ul Ke' , 'Taxonomy Singular Name' , 'bw_translate' ), ); $args = array ( 'labels' => $labels , 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => false, 'show_in_nav_menus' => false, 'show_tagcloud' => false, ); register_taxonomy( 'yapinyiliveulke' , array ( 'post' ), $args ); |
Now open Single.php file in folder theme:
Find this line:
<div class = "bw_crew" ><?php echo get_the_term_list( $post ->ID, 'genre' , '<strong>Genre</strong> ' , ', ' , '' ); ?></div> |
After that line add this code:
<div class = "bw_crew" ><?php echo get_the_term_list( $post ->ID, 'yapinyiliveulke' , '<strong>Yapin Yili Ve Ul Ke</strong> ' , ', ' , '' ); ?></div> |
Comments
Post a Comment