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