Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


Factolex is a fact lexicon with an API that allows retrieving facts and use them on your blog. This plugin makes showing facts on a blog very simple.

To install the plug-in, copy the factolex.php-file into the wp-content/plugins-folder and activate the plug-in in the WordPress Plugin Administration.

There are two ways to get data and two ways to use the data with the plugin, they require editing your theme's template files.

Step 1: Initialize Plugin

$factolex = new Factolex_Facts();

Step 2: Get Data

2.1 Get Terms by Name

Get only those terms that equal the search query.

$factolex->getByTerm($query, $language (en|de));

2.2 Get Term by ID

Get one term based on Factolex' internal term ID.


2.3 Search for Terms

Returns all terms, including those that don't exactly equal the search query.

$factolex->search($query, $language (en|de));

Step 3: Return the Data

3.1 Return HTML


3.2 Return Array


$data = array(
        'title' => 'Term title',
        'id'    => 'Internal Term ID',
        'link'  => 'Link to term on Factolex homepage',
        'tags'  => 'Tags, separated by spaces',
        'facts' => array(
                'title'     => 'Fact text',
                'tags'      => 'Tags, separated by spaces',
                'source'    => 'Link to source, if available'


To search for terms on the tag page and return the three best ones.

$factolex = new Factolex_Facts();
$factolex->getByTerm(single_tag_title('', false), 'en');
echo $factolex->getHtml(3);


To automatically nofollow links to Factolex, edit the FACTOLEX_NOFOLLOW constant in factolex.php to 1.

Requires: 2.5 or higher
Compatible up to: 2.7.1
Last Updated: 8 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.