NetViper Interactive

Web Design, SEO, PPC

 
Call Us Today 904.209.6933
 
← Older posts Newer posts →

How to remove the website field from the comment form

Posted on by netviper

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/

Posted in Wordpress | Leave a comment

Google Website Optimizer and WordPress

Posted on by netviper

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 this is of course a pluging. The problem is that most of the plug ins that I found do not work with WP 3.0 and above. Finally I found this one http://andreasnurbo.com/gwo-plugin. It worked well, but it is a little confusing to use. Instructions would certainly be nice. So I have it up and running. The data should start coming in a few hours so I will write a second blog to see if it is working properly.

Posted in Wordpress | Leave a comment

Styling your drop down text

Posted on by netviper

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.

Posted in Wordpress | Leave a comment

Contact Form 7 Clear textarea

Posted on by netviper

Last time we talked about how to clear the input labels on Contact From 7 using a slight hack to the code. This is great for simply using input labels, but what about a text area? As I quickly found it, it doesn’t work.

Why is doesn’t work is because the text area is controlled by a different php file called textarea.php.

So if we open that file up and look on line 88 you will find this code:

$html = ‘‘;

We need to change it to this code:

$html = ‘‘;

Now save it and your text area will now clear itself when someone clicks on it.

Posted in Wordpress | Leave a comment

Completed Google Analytics Essentials

Posted on by netviper

I just finished the Google Analytics Essential Training on Lynda.com. I thought it was well done and I did learn a few new things to help me better understand web traffic and how we can use GA to increase sales. The course is about four and a half hours, so it does take some time, but I think it was worth it. I will be taking the GA certification test soon.

Posted in Google Analytics | Leave a comment

Clearing Input Forms with Contact Form 7

Posted on by netviper

Many websites today will not have labels next to their input boxes anymore. Instead they place the text inside the input box. Contact Form 7 plug in can do this out of the box, but the user has to erase what is in the box before they can type in their information. This is a) annoying and b) not user friendly at all. Fortunately there is a hack that makes this work. Special thanks to emj for this solution.

Note that this is a bit of a hack, so not sure how it will work as you upgrade to newer versions.

First: add this javascript to header.php


Second: in the contact form 7 plugin folder, edit file /modules/text.php

Third: find line 76
$html = ‘
‘;

Fourth: between ‘input’ and ‘type’, add:
onFocus=”clearText(this)” onBlur=”restoreText(this)”

That should do it. It isn’t perfect, but it works pretty well.

Posted in Wordpress | Leave a comment

Site Updates

Posted on by netviper

I did some new updates to the site today. This included adding some new images to the web design gallery, updating some homepage content and adding our contact info to the header. The site will be going through a total redesign in the near future when we have some time to work on it. Right now we are concentrating on meeting the needs of our clients.

Posted in Web Design | Leave a comment

Testing FireFox 4 beta

Posted on by netviper

So I have spent a little bit of time testing the firefox 4.0 beta. So far I really like it. It is very fast and seems to work much better than 3.6. I am looking forward to trying it with more plugins as they become available.

Posted in Web Design | Leave a comment

Testing out Twitter Tools

Posted on by netviper

This program will auto post your wordpress blog to your twitter account.

Posted in Wordpress | Leave a comment

Testing out wordbooker

Posted on by netviper

Testing the wordbooker plugin.

Posted in Wordpress | Leave a comment ← Older posts Newer posts →