diff --git a/functions.php b/functions.php index c02f89110e9b2b2acd4999d36696f03fe524a6db..171426378ca8714a58f731cb9e0654519013eb24 100644 --- a/functions.php +++ b/functions.php @@ -447,6 +447,10 @@ function createCard($params) { }; add_shortcode('cc-card', 'createCard'); - - +//Ajout du menu 'attributs de pages' sur les posts pour pouvoir modifier l'ordre (pour le parcours de l'accueil) +add_action( 'admin_init', 'posts_order_attribute' ); +function posts_order_attribute() +{ + add_post_type_support( 'post', 'page-attributes' ); +} ?> \ No newline at end of file