Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tab Navi Item for Tab Div

// Add Shortcode
function tab_navi_item_shortcode( $atts , $content = null ) {

	// Attributes
	$atts = shortcode_atts(
		array(
			'id' => 'tab#',
			'tab_title' => '',
			'checked' => 'wenn dies der erste Tab ist schreibe "checked"',
		),
		$atts,
		'tab_navi_item'
	);

	// Return image HTML code
	return '<input id="' . $atts['id'] . '" type="radio" name="tabs" ' . $atts['checked'] . '>
		 <label class="tab-label" for="' . $atts['id'] . ' ">' . $atts['tab_title'] . '</label>' ;

}
add_shortcode( 'tab_navi_item', 'tab_navi_item_shortcode' );