Invisible: social media links footer ???
-
Hi @ll!
I can’t make a sense of this. I had to migrate an existing page which was made by another guy. He used a social media links footer menu. The menu worked on his installation, but now it’s mysteriously gone.
That means that the source code has it, it’s rendered and in the source. But it’s not displayed on the site?!
The menu is assigned and everything is right from the menu structure.
The following shows the source code in footer.php
<div class="footer-right"> <?php if ( has_nav_menu( 'social' ) ) { wp_nav_menu( array( 'theme_location' => 'social', 'container' => 'nav', 'container_id' => 'social', 'container_class' => 'menu', 'menu_id' => 'menu-social-media-items', 'menu_class' => 'menu-item', 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', 'depth' => 1, 'fallback_cb' => false ) ); } ?> </div>
This is the rendered output in my browser (all latest browsers):
<footer> <div class="footer-right"> <nav id="social" class="menu"><ul id="menu-social-media-items" class="menu-items"><li id="menu-item-511-de" class="lang-item lang-item-39 lang-item-de menu-item menu-item-type-custom menu-item-object-custom menu-item-511-de"><a href="../de/index.html" hreflang="de"><span class="screen-reader-text">Deutsch</span></a></li> <li id="menu-item-510" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-510"><a href="contact/index.html"><span class="screen-reader-text">Contact</span></a></li> <li id="menu-item-509" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-509"><a href="imprint/index.html"><span class="screen-reader-text">Imprint</span></a></li> </ul></nav> </div> </footer>
Does anybody know why the menu above is not being displayed?
THX
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Invisible: social media links footer ???’ is closed to new replies.