How to hide text link

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phploh
Forum Newbie
Posts: 4
Joined: Wed Dec 07, 2011 6:01 am

How to hide text link

Post by phploh »

Hi,

I installed a translation feature on my web site and there is a text link to the developer's web site which also appears on the feature. While I understand that the developer wants traffic to his web site, my readers are finding this very distracting.

Can anyone tell me which file I can find the link in order to remove it? Is it in the php file or the css file and how do I recognise it?

Thanks for your help!
Attachments
file showing elements to remove
file showing elements to remove
elements_to_remove.jpg (9.47 KiB) Viewed 245 times
maxx99
Forum Contributor
Posts: 142
Joined: Mon Nov 21, 2011 3:40 am

Re: How to hide text link

Post by maxx99 »

If im guessing right and its a Wordpress page, just check out sources of translator plugin.
Or e.g. search for "Bens Translator" text.

But be aware that there can be some license restrictions. Check them out first :)
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: How to hide text link

Post by social_experiment »

If you don't already have it installed get Firebug http://getfirebug.com/; then right click and say "Inspect element". This will highlight the specific element when you hover over it. maxx99 makes a good point about the license and restrictions related to it so have a look if you can actually remove the stuff you want to; a good idea might be to contact the author of the plug-in.
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
phploh
Forum Newbie
Posts: 4
Joined: Wed Dec 07, 2011 6:01 am

Re: How to hide text link

Post by phploh »

Thanks guys.

I have searched all the .php files and there is no Ben Translator text in any of them. Any specific file I should look at?

Okay, let me check the license issue ..
User avatar
twinedev
Forum Regular
Posts: 984
Joined: Tue Sep 28, 2010 11:41 am
Location: Columbus, Ohio

Re: How to hide text link

Post by twinedev »

How did you search all the .php files? I just downloaded it and found it right away. I'm not saying where though, since the line you want to remove is preceded by these two lines:

Code: Select all

  //Please keep my link, I provide this plugin for free :)
  //or you can move it to another location
So since the author requests it be left in, you should probably contact him and ask him that if you donate, can you remove it (or just as stated, remove it and add it somewhere else on the page, like the footer of your template.)

-Greg
phploh
Forum Newbie
Posts: 4
Joined: Wed Dec 07, 2011 6:01 am

Re: How to hide text link

Post by phploh »

Okay Greg, thanks. I guess he might allow me if I donate to his work.

Appreciate it.
Post Reply