Sitting here hoping for a #Bea…
| By Kevin Johnson | No comments
Sitting here hoping for a #Bears score teaching EJ about @Twitter
| By Kevin Johnson | No comments
Sitting here hoping for a #Bears score teaching EJ about @Twitter
| By Kevin Johnson | No comments
Good links – 35 Most Wanted Cheat Sheets For Web Designers And Developers http://t.co/3rlrrKfv #webdesign #webdevelopment
| By Kevin Johnson | No comments
So, here’s a simple solution to a backlink in WordPress. This makes it easy for someone to return to the previous page, assuming the HTTP_REFERER header is sent by the browser. Thought we’d share this simple solution. We’ve seen
Here’s the function, which you can add to your functions.php file:
/*
* Generate a backlink via HTTP_REFERER (empty if not set by browser).
*/
function get_backlink(){
$ref = wp_get_referer();
$url = get_bloginfo(‘siteurl’);
$urlLen = strlen($url);
$refStr = substr($ref,0,$urlLen);
if(!empty($ref) && strtolower($refStr) == strtolower($url)){
return(‘<a class=”adi_backlink” href=”‘.$ref.'”>< Back</a>’);
}
}
In your template add <?php get_backlink();?> to see the link
| By Kevin Johnson | No comments
Simple yet worth noting: Customizing WordPress For Your Clients http://t.co/2vcfhVJy via @zite
| By Kevin Johnson | No comments
Worth checking out? FaceBum – Smart Facebook Album http://t.co/hxg1mhu via @zite
| By Kevin Johnson | No comments
Interesting – How long will people pay attention? http://t.co/UiEckYp via @zite