View Single Post
Old 06-04-2012, 04:39 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,454
Quote:
Originally Posted by geedub View Post
The Pretty Link guys sent me this, it will echo the hits to the pretty links to have an actual hits counter. I edited 1 line, hope the syntax is still legit, it works regardless

PHP Code:
<!-- SHOW PRETTY LINK HITS -->
<?php
global $prli_link;
$myID get_post_meta(get_the_ID(), '_pretty-link'true);
if(
$myID)
{
  
$data $prli_link->getOne($myIDOBJECTtrue);
  echo 
$data->clicks.' Views';
}
?>
<!-- END SHOW PRETTY LINK HITS -->
thanks i will update the code with this. i was only doing random click counts until i had time to put the real ones in.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote