Code a 'Designed by...' credit so it can be changed from my end

Hey all
So I’m a php beginner, so I was wondering if anyone can help get me started on a small snipped i’m trying to achieve
or if it’s even possible…

I want to be able to put a “Designed by __” on my clients’ websites that I create, but if I ever want to change what it says (text or link), am I able to create some kind of shortcode or snippet so I can alter it somewhere on my end/website, without having to login to their wordpress?
I know in the past Ive seen this before… it was a php snippet that didn’t have any text in it, but when removed, the “Designed by __” disappeared.

Any ideas? This would be for a WordPress website

If you really do this you must take into account that a simple implementation of this will end up in 1 extra request for every pageview. This can be annoying for users and may impact your site if your clients get lots of hits.

If implementing this you should use some kind of cache so that your page is only requested once every X interval (hours, days).

A simple/terrible implementation might be
[php]echo file_get_contents(‘http://yoursite.com/designedby.php’);[/php]

designedby.php
[php]Designed by Jim Leirvik[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service