aloha1010110
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Error Establishing Connection to Database, but refresh OK?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?
Forum: Themes and Templates
In reply to: wp_nav_menu seems to add a block?Thanks, Stephen. I thought nav was inline! It’s working now.
Forum: Themes and Templates
In reply to: wp_nav_menu seems to add a block?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.
Forum: Themes and Templates
In reply to: wp_nav_menu seems to add a block?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>