Install

Humanized History requires a working installation of WordPress. It has been tested with several versions of WordPress 2.x; I can’t promise compatability with older versions of WordPress, but if you’ve tried it successfully, I’d be glad to hear about it.

To install the plugin:

  1. Create a subdirectory named humanized-history in the plugins directory of your WordPress blog.

  2. Put copies of humanized-history.js and humanized-history.php in the humanized-history subdirectory.

  3. Log in to the WordPress Dashboard and go to Presentation –> Theme Editor. Check whether there is a template file called functions.php listed in your theme files. If so, bring it up the template file for editing. If not, create a new file in a text editor, then enter the following lines:

    <?php
    // Common template functions
    ?>
    

    Then save it as functions.php, upload it to your WordPress theme directory, and bring it up for editing.

    When you’re ready to edit the functions.php template, add a new function, named template_post_display(), which should display the contents of a single post however they are normally displayed on your blog’s front page and archive page. If you are not familiar with hacking WordPress templates, you can find step-by-step instructions that should get you a reasonable result from Templates and Styling.

  4. While you’re editing your theme, check header.php to make sure that there’s a call to the wp_head() function somewhere in HTML <head>...</head> element for your theme. If not, add the following line to the template, just above the line containing the closing tag (</head>):

    <?php wp_head(); ?>
    
  5. In the WordPress Dashboard, go to Plugins and activate the Humanized History plugin.

  6. Be sure to check out Templates and Styling for a discussion of how best to fit in this plugin with your existing WordPress theme.

Advertisement