Plugin Directory

Blern

This section describes how to install the plugin and get it working.

To use either the blernusersalsoliked or blernbuzzworthy TemplateTags, follow these instructions. The example shows the use of blernusersalsoliked, but you can easily change the title in step 3, replacing "Users Also Liked" with "Buzzworthy" and replacing blernusersalsoliked with blern_buzzworthy.

  1. Upload blern-alsoliked.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. 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 blernusersalso_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 filegetcontents 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.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)