Check your header.php file.
It looks like the theme author has placed that there for advertising purposes.
If you let us know what theme you are using, I can better assist.
My best guess is header.php or functions.php
Thread Starter
cbaz
(@cbaz)
It’s the twenty eleven theme. I’ll check the header and functions.php again.
It’s the twenty eleven theme? There should be no link at the top of the page, unless you have set it there.
As you know, twenty eleven doesn’t come default with that.
Also, what plugins do you have installed?
Thread Starter
cbaz
(@cbaz)
Yes, it appeared a few months ago.
It’s definitely in the header (so, I assume header.php), and it’s before the </head> tag ends so it is almost surely there accidentally π
When you find it, you should remove the whole line, starting and ending with the <p> and </p> tags.
If it’s not in the header.php or functions.php, I’d say your site was hacked.
That shouldn’t just appear on the WordPress default theme
Thread Starter
cbaz
(@cbaz)
Thread Starter
cbaz
(@cbaz)
Still can’t find it in header.php. . .
remove – G translate and all of its options from the WP database.
That is the offender. I stumbled across a thread somewhere with this issue, and it was that plugin that was causing them problems.
http://wordpress.org/support/topic/random-casino-link-has-appeared-on-my-wordpress-site?replies=20
Look at ‘anotherfinemess’ post about half way down the page – direct quote here
Ok guys it was a plugin afterall that caused these spam links. It’s the G Translate plugin from benjilof . Delete it and you’ll be fine. It activated the spam links in all my wordpress sites. Please confirm this. Thanks
Thread Starter
cbaz
(@cbaz)
I deleted G Translate, but the link is still there!
Thread Starter
cbaz
(@cbaz)
When you say ‘remove all its options from the WP database’, what does that mean exactly?
Well, when a plugin is installed it must register settings inside of the database, so it knows where to store the information. Most plugin authors do not code in an uninstall, which removes these options from the database. So even tho you have ‘removed’ the plugin from the list of installed plugins, the options/settings may still be inside of the database.
I’m no pro at digging through the database, so hopefully someone else can guide you through that.
I believe essentially what you would need to do is – log in to phpMyAdmin, select the database wordpress is installed too, select the options table (again, I *think*), and find and select the settings for that plugin and ‘Drop’ them from the database.
Maybe wait for another to chime in for support, so you don’t crash your site permanently (which could very well happen messing around in the database).