fix: add rel microformat
This commit is contained in:
parent
1628d91c6c
commit
c3f079e773
1 changed files with 1 additions and 1 deletions
|
@ -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> ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Reference in a new issue