fix: add rel microformat

This commit is contained in:
Kazhnuz 2023-07-27 21:02:24 +02:00
parent d9383824ab
commit 06a05d980a

View file

@ -5,7 +5,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 class="social-li"><a class="social-link" 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 class="social-li"><a class="social-link" 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> ';
} }
} }