Enables bloggers to incorporate Blern personalization content into their WordPress blog.
This section describes how to install the plugin and get it working.
To use either the blern_users_also_liked or blern_buzzworthy TemplateTags, follow these instructions. The example shows the use of blern_users_also_liked, but you can easily change the title in step 3, replacing "Users Also Liked" with "Buzzworthy" and replacing blern_users_also_liked with blern_buzzworthy.
Place the following code in your templates where you want to display the list of articles others liked:
<li><h2><a href="http://blern.com">Blern</a> Users Also Liked</h2> <ul> <?php blern_users_also_liked('li'); ?> </ul> </li>
The function blern_users_also_liked takes two parameters. The first is either 'li', 'p' or 'br'. This in indicates how the list should be delimited (either enclosed in 'li' or 'p' tags, or follwed with a 'br' tag). The default is 'br'.
The second parameter is a number indicating how many articles that should be returned (default is 5).
Note that these functions makes use of the file_get_contents function to get data from the blern.com website. If this function is unavailable or you are prevented from making outgoing HTTP connections this will not work.