/**
 * Generated by the WordPress Meta Box generator
 * at http://jeremyhixon.com/tool/wordpress-meta-box-generator/
 */
function arkc_ad_get_meta( $value ) {
	global $post;
	$field = get_post_meta( $post->ID, $value, true );
	if ( ! empty( $field ) ) {
		return is_array( $field ) ? stripslashes_deep( $field ) : stripslashes( wp_kses_decode_entities( $field ) );
	} else {
		return false;
	}
}
function arkc_ad_add_meta_box() {
	add_meta_box(
		'arkc_ad-arkc-ad',
		__( 'Şarkıcı Adı', 'arkc_ad' ),
		'arkc_ad_html',
		'post',
		'normal',
		'default'
	);
}
add_action( 'add_meta_boxes', 'arkc_ad_add_meta_box' );
function arkc_ad_html( $post) {
	wp_nonce_field( '_arkc_ad_nonce', 'arkc_ad_nonce' ); ?>
	Şarkıcı adı
	
		
		
	
}
function arkc_ad_save( $post_id ) {
	if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
	if ( ! isset( $_POST['arkc_ad_nonce'] ) || ! wp_verify_nonce( $_POST['arkc_ad_nonce'], '_arkc_ad_nonce' ) ) return;
	if ( ! current_user_can( 'edit_post', $post_id ) ) return;
	if ( isset( $_POST['arkc_ad_sanatci_adi'] ) )
		update_post_meta( $post_id, 'arkc_ad_sanatci_adi', esc_attr( $_POST['arkc_ad_sanatci_adi'] ) );
}
add_action( 'save_post', 'arkc_ad_save' );
/*
	Usage: arkc_ad_get_meta( 'arkc_ad_sanatci_adi' )
*/ 
  
