fix: add rel microformat

This commit is contained in:
Kazhnuz 2023-07-27 20:48:46 +02:00
parent 1628d91c6c
commit c3f079e773

View file

@ -8,7 +8,7 @@
$menu = wp_get_nav_menu_items($listmenu['social']); $menu = wp_get_nav_menu_items($listmenu['social']);
if ($menu != null) { if ($menu != null) {
foreach ($menu as $menuElement) { foreach ($menu as $menuElement) {
echo '<li><a class="menu-item" href="'. $menuElement->url .'"><i class="fa fa-fw fa-'.$menuElement->title.'" aria-hidden="true"></i><span class="sr-only">Accéder à mon '.$menuElement->title.'</span></a></li> '; echo '<li><a class="menu-item" rel="me" href="'. $menuElement->url .'"><i class="fa fa-fw fa-'.$menuElement->title.'" aria-hidden="true"></i><span class="sr-only">Accéder à mon '.$menuElement->title.'</span></a></li> ';
} }
} }
?> ?>