With the basic wordpress install, you are able to nicely style the menu colors etc, but I have run into a problem several times where I use the same color to highlight which page I am on as the color of the background of my dropdown. So if I had a blue nav bar, my menu text is white, my page highlight is white bold and my dropdown menu is white then what happens is if you are on a page in your dropdown, the menu option vanishes into the background.
So what can you do about this?
Looking at the current page item you see this code:
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
color: #ededed;
font-weight:bold;
}
So all you need to do is add an extra ul in there so you are now controlling the color of the drop down text. Just like this:
#access ul ul li.current_page_item > a,
#access ul ul li.current-menu-ancestor > a
#access ul ul li.current-menu-item > a,
#access ul ul li.current-menu-parent > a {
color: #3579a6;
font-weight:bold;
}
That should solve your problem.
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…