WordPress.org

Ready to get started?Download WordPress

Forums

narchives included in index? (5 posts)

  1. Beel
    Member
    Posted 10 years ago #

    I plan on getting back to this so if anyone has any ideas that might save me some time, I would appreciate it.

  2. carthik
    Member
    Posted 10 years ago #

    Beel, the way I described it, posts_per_page never comes into the picture at all! I am confused about how you did it, and please try out the method i described and see if it works.

  3. carthik
    Member
    Posted 10 years ago #

    the $posts_per_page might be used by a function in narchives, and that must have defined it as a global.
    Try editing the occurences of global $posts_per_page in the functions in narchives.php which use that variable, or try try defining the $posts_per_page='-1' as a global.
    I think it might be the variable scope that's the issue, that's a clue, maybe you can use that, 'cause variable scope is confusing for me :)

  4. Beel
    Member
    Posted 10 years ago #

    Thanks 2fargon, when I got home last night the "Edit" from my last post did work (but I am still on my search to find a "nonedit-blog-header" answer). I just checked and if I put &showposts=50 in the link the $posts_per_page set in options is overridden so I think all I have to do is set that in htaccess. I will check when I get back home.

  5. Ruby Sinreich
    Member
    Posted 9 years ago #

    Beel, that worked for me as well. Thanks for answering this question before I could ask it. ;]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.