syntax error and trying to add links to my header
-
I made a mistake in the code trying to paste some links into the header of my wordpress blog. I am simply using the WordPress ‘2010 Theme’ and am trying to add links to my social media sites as you’ll see. This line of code got messed up (a space or punctuation is missing):
<?php wp_nav_menu( array( ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’) ; ?>
Something in there is wrong and my page does not load anymore. I tried to paste these lines of code directly after that:
<ul class=”icons”>
- <img src=”http://www.afrikast.com/vft/images/myspace.png”/>
- <img src=”http://www.afrikast.com/vft/images/facebook.png”/>
- <img src=”http://www.afrikast.com/vft/images/youtube.png”/>
When I placed the above code directly above the </div><!– #access –> line, the links were separated on different lines. If anyone can help fix this so my website can be displayed properly it would help. But I originally copied the code from http://www.vieuxfarkatoure.com/. How did this page align those icons on the right? Thank you for any help; I am code illiterate, and it would be easiest if I could just copy and paste to fix this. If there’s a lesson here I am eager to learn. My page is normally at http://www.eddiewestmusic.com.
- The topic ‘syntax error and trying to add links to my header’ is closed to new replies.