Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aloha1010110

    (@aloha1010110)

    Thanks, Yui and Ott. I’ve turned on debugging and this is what appeared:

    Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50173 Library:50312 in /var/www/wp/classpolicy/wp-includes/wp-db.php on line 1538 Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) in /var/www/wp/classpolicy/wp-includes/wp-db.php on line 1538

    Is this a host issue?

    Thread Starter aloha1010110

    (@aloha1010110)

    Thanks, Stephen. I thought nav was inline! It’s working now.

    Thread Starter aloha1010110

    (@aloha1010110)

    I’m trying to create my own theme. The code is the same in my original post, except that wp_nav_menu() is being “rendered” after being processed server side.

    I’ve tried both display inline on both the nav and img elements, but it doesn’t bring the nav menu horizontally aligned with the logo.

    It’s weird because I see no block elements in the rendered html, but it is being rendered as if there is. Normally, you wouldn’t need to use float as both img and ul elements are inline.

    Thread Starter aloha1010110

    (@aloha1010110)

    Hi, the site’s not live, just testing on localhost. But the html is being rendered like this:

    <header class="main-navigation" style="border: 2px solid">
            <img src=http://localhost/wordpress/wp-content/themes/apparent/images/logo_apparent.png>
            <nav class="menu-main-menu-container"><ul id="menu-main-menu" class="menu"><li id="menu-item-6" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-6"><a href="http://localhost/wordpress/">How it Works</a>
    <li id="menu-item-8" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-8"><a href="http://localhost/wordpress/">Features</a>
    <li id="menu-item-9" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-9"><a href="http://localhost/wordpress/">Support</a>
    </nav>    </header>
Viewing 4 replies - 1 through 4 (of 4 total)