I have come across this a few times when updating older sites to WordPress 3.0 that the fancy new menu system in WP3.0 doesn’t work. Fortunately, this is an easy fix.
First off, you will be editing your functions.php file, so make a backup!
Now, add this code to your funtions.php file:
add_action( ‘init’, ‘register_my_menus’ );
function register_my_menus() {
register_nav_menus(
array(
‘menu-1’ => __( ‘Menu 1’ ),
‘menu-2’ => __( ‘Menu 2’ )
)
);
}
You can name the menu’s whatever you like. ie Primary, Secondary.
Next step is to open your header.php file and replace what you have with this new code:
‘menu-1’ ) ); ?>
For me, I was using pixopoints multi level plugin, so I simply replaced that code with the call above.
Now you are free to build your menu’s using the advanced features of wp3.0
Removing “Allowed Tags” on the comment form.
This solution is from the wordpress forums from Emsi. It is not guaranteed to work on all themes, but it did work fine for me on my theme based on twenty ten. Follows these steps: 1. back up your functions.php file. 2. Add the following to your functions.php file function my_comment_form_args($user_identity, $post_id, $req) { $args…
How to remove the website field from the comment form
I had a customer request to remove the website field in the comments. You would think this would be a relatively simple thing to do, but not so. After an hour of searching, I found a solution that worked great. Here is the link. http://techhacking.com/2011/02/04/wordpress-how-to-remove-the-website-field-from-the-comment-form/
Google Website Optimizer and WordPress
Today I started a test using Google Website Optimizer on WordPress. The manual way of doing this would mean you would need to create 3 different headers and input the correct tracking code in each. While it is not a ton of work, it is a pain in the butt. The better way to do…