WordPress.org

Ready to get started?Download WordPress

Forums

next/pervious day (11 posts)

  1. Chris
    Member
    Posted 10 years ago #

    I could really use a next/previous day feature. (movabletype has it)

  2. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Day as opposed to next/previous post?

  3. Chris
    Member
    Posted 10 years ago #

    Yes, I know there's posts paged but I always display my posts by 1 day. It's more understandable to go to the next day's posts then to the next 3 posts paged. Or at least to me it makes more sense.

  4. onenationunderdog
    Member
    Posted 9 years ago #

    bump.

    yeah i could really use this too-- i'm using scriptygoddess' next/previous day link plugin (http://www.scriptygoddess.com/archives/2004/06/27/previous-archive-date-next-archive-date-links/) ... but this provides only for archive pages.

    what i'm looking for is a way to simply link to the 'previous day' from the footer of a homepage that is always set to show the most recent day of posts.

    as far as i know, wordpress template tags for previous posts work only with posts paged, and of course this plugin is design for archive pages.

  5. Chyetanya Kunte
    Member
    Posted 9 years ago #

    Easy:
    <?php posts_nav_link(" | ","&laquo; Previous Page ", " Next Page &raquo;"); ?>

  6. onenationunderdog
    Member
    Posted 9 years ago #

    "Displays navigation showing next and previous pages if the "posts paged" option is set. "

    http://wiki.wordpress.org/posts_nav_link

    er, thanks but this isn't it -- i need a function to call the previous day when homepage is set to 1 day, not x posts paged.

  7. Kafkaesqui

    Posted 9 years ago #

  8. onenationunderdog
    Member
    Posted 9 years ago #

    thanks kafkaesqui -- actually that plugin works on just archive pages -- not the home page.

    if i knew php better i could probably hack it but alas no yet...

  9. Kafkaesqui

    Posted 9 years ago #

    Ok...how about the method I use on my blog (though I've modified it quite a bit)?

    http://www.scriptygoddess.com/archives/2004/05/23/wppaginate/

    A little more than just next/previous, but doesn't rely on posts paged, and can be set to display on all pages, including home.

  10. onenationunderdog
    Member
    Posted 9 years ago #

    well.... having seen this plugin before, i thought maybe i missed something. i installed it and... nope -- it may not require posts paged, but it does not help me out.

    again, this blog (www.newsdissector.com/blog/) is set to display the most recent day of posts. how can i link to the previous day of posts, or alternatively the previous week/month of posts with the latest day offset?

    getting sort of desperate ... pls email any ideas to webmaster@newsdissector.com or post here. thanks!

  11. onenationunderdog
    Member
    Posted 9 years ago #

    as soon as i figure out how to write the correct conditional statement for just the homepage ($home has never worked for me with 1.2), i think i'll just link to the the current month's archive.

    offset or previous day would be cool but whatevuh

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.