WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] syntax error and trying to add links to my header

[Resolved] syntax error and trying to add links to my header

Viewing 3 replies - 1 through 3 (of 3 total)
  • You are missing one closing parenthesis. Change this:

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary') ; ?>

    to this:

    <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary')) ; ?>

    Thanks @vtxyzzy. That was so intuitive, but I didn’t see it. I am back online with the site and am still trying to get the icons in one row on the right. I got them aligned right, but want them on the same line. Here’s my code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    So they are displayed on my site but stacked somewhat strangely. The Vieux Farka Toure site looks pretty nice the way he has it. Any suggestions? I’m hunting the web.

    Here is how his nav area is structured:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    ul.icons has the css float: right;.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] syntax error and trying to add links to my header’ is closed to new replies.
Skip to toolbar