Extended Live Archives and WordPress 3.0

June 21, 2010 by Michael

The Extended Live Archives Plugin does not work with WordPress 3.0, opposed to the plugin page. I still like this plugin as seen here, so here is my solution:

  • Download the archive
  • Open includes/af-extended-live-archive.js.php and includes/af-ela.php in your favorite editor
  • Replace in both files
    require('../../../../wp-blog-header.php');

    with

    require_once('../../../../wp-config.php'); 		
    $wp_did_header = true;
    $wp->init();

    and you’re good to go.

If anyone has a better idea, please write a comment.

One comment

  1. Hugh wrote:

    Um, I am using wordpress 3.0 Plus and I did not use this hack. check it out: http://hugh.thejourneyler.org/.....e-archives

    Posted on September 11, 2011 at 2:03 AM | Permalink
Post a Comment

Your email is never published. We need your name and email address only for verifying a legitimate comment. For more information, a copy of your saved data or a request to delete any data under this address, please send a short notice to michael@simons.ac from the address you used to comment on this entry.
By entering and submitting a comment, wether with or without name or email address, you'll agree that all data you have entered including your IP address will be checked and stored for a limited time by Automattic Inc., 60 29th Street #343, San Francisco, CA 94110-4929, USA. only for the purpose of avoiding spam. You can deny further storage of your data by sending an email to support@wordpress.com, with subject “Deletion of Data stored by Akismet”.
Required fields are marked *