Support » Fixing WordPress » Sortable Nicer Archives for 1.3

Viewing 15 replies - 16 through 30 (of 34 total)
  • OK, gotcha on the “only displays so many posts” bug:
    this:
    $posts_per_page = '-1';
    needs to be before this:
    require('./wp-blog-header.php');.
    Solution found in this thread: http://wordpress.org/support/topic.php?id=20887

    Cool!

    any news on having this be a plugin or something that I could insert into a page for 1.5?

    Warning: extract(): First argument should be an array in /home/lawtai/domains/taibros.net/public_html/wp-includes/functions.php on line 1739

    This is the error I’m getting by using the nicer archives that i used with 1.2.2. How can I fix this error? Everything works, but it just puts this at the top of the page.

    I’m having problems with this script only displaying one line of my archives as a default

    http://journal.beautifulliar.net/narchives2.php

    I’ve tried putting
    $posts_per_page = ‘-1’;
    before and after
    require(‘./wp-blog-header.php’);.
    and in various other locations with no results, and the original thread for that problem seems to be dead.

    Help please?

    I’m having the same problem. $posts_per_page, $posts_per_caegory_page, $posts_per_archive_page… It doesn’t matter how liberally I set them to -1 and scatter them around, they don’t make a blind bit of difference.

    Help!

    Has anyone yet come up with a sure-fire way to have narchives change the default from “sort by date” to “sort by categories”? I’ve tried a few different things and nothing seems to be working. There should be somewhere in the code to set the default sort.

    Okay, so now I’m really messed up. Somehow, when I click on the “month” in narchives2, it takes me to my home page instead of to a month of archives. I get a link for http://www.mysite.com/?m=200501 which is strange…I think.

    I checked on my active blog with the older version of narchives and it is working fine. Is it something I did in changing the layout of my index.php? Oh, boy.

    What happens when a date is clicked on from an archives list? How does it generate the page?

    iamarock

    (@iamarock)

    I’d like to put narchives on my blog, but the link posted by “Anonymous” don’t work and the original code don’t seems to work merged into a static page of WP 1.5.

    Any good news?

    Thank you

    iamarock

    (@iamarock)

    I need to find a way to get sorted and beautiful archives, it’s the last thing I need to upload my page to the server…

    Help please.

    Does anyone knows how to get it working on the ttemplate system used in 1.5+?
    Coz if youc reate a page tmeplate using this code, but your eplace the includes of header with get_header and get_footer functions it works fine but only displays pages when ordered by date ?!

    hetta

    (@hetta)

    Right, a version of narchives2.php that works with wordpress 1.5 can be found here: http://www.henriettesherbal.com/blog/narchives2.phps
    – if somebody puts a better version online somewhere and tells me about it I’ll remove this one.

    Categories are broken: I’ve tried to include a $today=... and a WHERE post_date <=$today` – but that shows no posts at all.
    Without those two additions the categories also showed yet-to-be-published posts. Drat.

    In addition, if somebody can get categories to work, I’d really like to know how to order things by date, within the categories.

    has any more progress been made on this per hetta’s previous post?

    Would love to see a successful category sort on this puppy…

    <<Bump>> for a 1.5 plugin version that can exclude specific categories.

    I’ve no idea about fixing the categories, but I have made the version in Hetta’s post Theme independent, by changing the header, footer & sidebar calls to use the TEMPLATEPATH variable.

    eg.
    <?php include (TEMPLATEPATH . '/header.php'); ?>

    rather than giving the full path to the theme each time.

    Waited too long to edit my previous post.

    I’ve tried a couple of different ways of making it work better with 1.5 – one was to add <?php require('wp-blog-header.php'); ?> to the start of the file, which meant that I could then use <?php get_header(); ?> etc to draw the header & footer & sidebar.
    The other thing I tried was using the phpexec plugin to paste the narchives code onto a page – however, the problem that arose with both of these was that it stopped showing all of the posts, & only shows about 10 now.

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘Sortable Nicer Archives for 1.3’ is closed to new replies.