How to count your blogroll links

Simply paste the following code where you want the count to be displayed:

get_var("SELECT COUNT(*) FROM $wpdb->links WHERE link_visible = 'Y'");if (0 < $numlinks) $numlinks = number_format($numlinks);echo $numlinks;?>

Thanks to Jeff Starr for this tip!


View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.

0 comments:

Post a Comment