narchives problems (4 posts)

  1. markusz
    Posted 11 years ago #

    I have added a call to my sidebar (that I would like to have on the left side) as the second statement in the narchives.php body:

    <div id="page">
    <?php get_sidebar(); ?>

    this produces the folowing warning at the top of the narchives.php, otherwise narchives works fine:

    Warning: extract() [function.extract]: First argument should be an array in
    wordpress/wp-includes/functions.php on line 1733

    This is the relevant line from functions.php:


    Additionally, entries where I have edited the post date or are deleted also show up on the narchies page. How can I get rid of them?

    Any help is very much appreciated!

  2. Chad_Coleman
    Posted 11 years ago #

    Im having this exact same problem.

    Have you or anyone found the solution???

    here is what my source looks like


  3. Ruby Sinreich
    Posted 10 years ago #

    I got this to work with WP 1.5 by making two major changes:

    1. Start the document like this:
    <?php require('./wp-blog-header.php'); ?>
    <?php get_header(); ?>

    ...and then so on with your template.

    But then this makes it only show your default number of posts per page so ...

    2. Go into where the PHP stuff starts and replace this:
    with this:
    $posts = query_posts($query_string . '&posts_per_page=-1');

    I hope this helps!

    You can see mine in action at http://orangepolitics.org/narchives.php

  4. archshrk
    Posted 10 years ago #

    Works like a charm, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.