diff --git a/components/featured.php b/components/featured.php
new file mode 100644
index 0000000..1de7681
--- /dev/null
+++ b/components/featured.php
@@ -0,0 +1,40 @@
+
+ 'post',
+ 'tax_query' => array(
+ array(
+ 'taxonomy' => 'niveau',
+ 'terms' => 'featured',
+ 'field' => 'slug',
+ )
+ ),
+ 'orderby' => 'date',
+ 'post_count' => '2',
+ 'order' => 'DESC'
+ ));
+
+ if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
+
+
+
+
+
+
+ " . $category[0]->cat_name . ""; ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/functions.php b/functions.php
index f61c632..9fbc9ff 100644
--- a/functions.php
+++ b/functions.php
@@ -16,4 +16,27 @@
'after_title' => '',
));
+/* 2. Niveau support (for featured posts) */
+register_taxonomy(
+ 'niveau',
+ 'post',
+ array(
+ 'label' => 'Niveau',
+ 'labels' => array(
+ 'name' => 'Niveaux',
+ 'singular_name' => 'Niveaux',
+ 'all_items' => 'Tous les niveaux',
+ 'edit_item' => 'Éditer le niveau',
+ 'view_item' => 'Voir le niveau',
+ 'update_item' => 'Mettre à jour le niveau',
+ 'add_new_item' => 'Ajouter un niveau',
+ 'new_item_name' => 'Nouveau niveau',
+ 'search_items' => 'Rechercher parmi les niveaux',
+ 'popular_items' => 'Niveaux les plus utilisés'
+ ),
+ 'hierarchical' => false
+ )
+);
+
+register_taxonomy_for_object_type( 'niveau', 'post' );
diff --git a/index.php b/index.php
index cb58c05..2b6aeab 100644
--- a/index.php
+++ b/index.php
@@ -1,5 +1,8 @@