Hi all, I created a theme on Wordpress and I want to add my link on the footer so that other people can not remove the copyright link. How do I achieve this? and how do I encrypt it so that if the user removes the link, the theme does not function. Thanks
With difficulty. The problem is that any code people can see they can change or remove. Any solution to avoid this problem complicates life for honest users. What you really need to do is encrypt or hide the php code but allow it to execute. The only way I know is to use software like zend studio - that integrates with software installed on most apache servers to decrypt / decode then run the resulting php code normally. Zend is expensive - even for developers - but maybe you can outsource? The solution is worse than living with the problem for most people - so they don't bother
It's futile and doing it is counter productive towards the type of people and websites you want to use your designs. People who want to steal it, will figure out a way to regardless of how well you obfuscate it. People that would typically give you credit will be turned off by obfuscated code and likely wont use it. The best compromise is to make the links part of the license agreement and make sure the links are something that a website owner has no problem linking to. Example, a thoughtful link to your design company would be appropriate and most website owners wouldn't mind keeping it there. Links to some product or service other than something related to your company, especially if they are of questionable content, is probably inappropriate.
I'm afraid jestep is correct. However, there are good solutions when it comes to encoding. I'd suggest you to try IonCube if you are looking for a encoding solution.