In order to support <meta> tag keywords in WordPress, I’ve changed header.php in the plugin subdirectory which now contains
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <meta name="Publisher" content="Jan-Piet Mens" /> <meta name="Description" content="On LDAP, Lotus Notes and Domino and other protocols" /> <meta name="Author" content="jpmens@gmail.com" /> <meta name="ICBM" content="52.0341, 8.4772" /> <meta name="geo.position" content="52.0341;8.4772" /> <meta name="DC.title" content="Jan-Piet Mens" /> <meta name="keywords" content="jpmens,jan-piet mens,fupps.com,jpm<?php echo keywords(); ?>">
After installing William Thomas’ keywords plugin, I changed the last statement in the plugin to return a leading comma (,) so as to have the keywords nicely formatted.
} } // return $words; // before return ",{$words}"; // after }
I’ve installed the Related Entries plugin and have added a full-text to the database:
ALTER TABLE `wp_posts` ADD FULLTEXT `post_related` ( `post_name` , `post_content` );
In the theme, added to themes/*/single.php the following code
<div>
Related posts:
<?php nice_related_posts($limit=5,
$normal_separator = ', ',
$penultimate_separator = ' and ',
$show_pass_post =false); ?>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>