Description
Link Counter is a WordPress Plugin that produces a report of targeted links and domains from a blog’s posts and pages.
Link Counter helps track patterns in your blog’s outgoing links. The generated report can be organized alphabetically or by count. It can show links only, links by domain, or domains only. Other options help refine results.
You can download Link Counter here. View a sample report (for Monkeyball) here.
Link Counter takes the following parameters (the first argument for each is the default):
- dupes=”no” or “yes” where “no” means duplicates in individual posts or pages are ignored; “yes” means they are counted.
- output=”all” or “domain” or “link” where “all” means report on all links, organized by domain; “domain” means report only on domains; “link” means report only on links.
- target=”other” or “all” where “other” means count only links to external sites; “all” means include links to the blog’s domain.
- sort=”alpha” or “count” or “none” where “alpha” means sort alphabetically; “count” means sort by count; “none” means no sort.
- order=”ascending” or “descending” where “ascending” is 0-9 a-z; “descending” is z-a 9-0.
- scope=”post” or “page” or “all” where “post” means only posts are analyzed; “page” means only pages are analyzed; “all” means all content is analyzed.
Link Counter uses XHTML 1.0 code and has been tested in WordPress 2.8.5, WordPress 2.9, MSIE 7, MSIE 8, Firefox 3, and Safari 4.
Installation
- Upload
mklc-link-counter.phpto thewp-content/pluginsdirectory of your WordPress install. - Activate the plugin through the Plugins menu in WordPress.
- Add the link counter to a page via a template or shortcode:
- To add the link counter to a page via a temmplate, use the code:
<?php mklc(); ?>
Add parameters to this function call by placing them in an array — for example:
<?php mklc(array('dupes' =?> 'yes',
'output' =?> 'links',
'target' =?> 'all',
'sort' =?> 'count',
'order' =?> 'descending',
'scope' =?> 'all')); ?> - To add the link counter to page using a shortcode, use the syntax:
[mklc]
Add parameters to this short code using the syntax: parameter=”value” — for example:
[mklc sort="alpha" scope="page"]
- To add the link counter to a page via a temmplate, use the code:
Donate
Safe Signup Form is free, but any small donation is appreciated.
Frequently asked questions
Have a question? Please use the comment form and I will do my best to respond.

No comments yet.