Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

post / numbre / row / cat

[ front_news post_par_ligne=” post_par_page=” nom_category=”]

// Add Shortcode
function my_front_news_shortcode( $atts ) {

	// Attributes
	$atts = shortcode_atts(
		array(
			'post_par_ligne' => '3',
			'post_par_page' => '1',
			'nom_category' => '',
		),
		$atts
	);

}
add_shortcode( 'front_news', 'my_front_news_shortcode' );