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 nor shared. Required fields are marked *