View Single Post
  #7  
Old March 17th, 2012, 08:02 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi
Quote:
Originally Posted by UncleJohn View Post
(a) Locate your homepage. This is probably named "index.html" or "index.php" in your web root directory (likely to be named "public_html"). You may need to check with your host to determine what file this is. Paste the JavaScript anywhere in that file and save the file to your web server.
This is where you went wrong. You should never edit any files other than the ones in your current theme's directory. In your case, that is here:

/wp-content/themes/twentyeleven/

Also, I still see an extra "<div>" tag where the avantlink code appeared. This extra code is still causing problems.

Try this:

1. Completely revert your index.php file back to the original version. If you don't have the original anymore, just download it again from WP.

2. Add a Text Widget to your sidebar here: http://www.cubemakeover.com/wp-admin/widgets.php

3. Then take the Avantlink code and paste it into that Text Widget.

That's all you have to do.

Eric